Package com.yubico.yubikit.android.ui
Class OtpKeyListener
- java.lang.Object
-
- com.yubico.yubikit.android.ui.OtpKeyListener
-
public class OtpKeyListener extends java.lang.ObjectA helper class that is used to intercept keyboard event from a YubiKey to capture an OTP. Use it directly in an Activity inActivity.onKeyUp(int, android.view.KeyEvent), or in aView.OnKeyListener.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOtpKeyListener.OtpListenerListener interface to react to events.
-
Constructor Summary
Constructors Constructor Description OtpKeyListener(OtpKeyListener.OtpListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanonKeyEvent(android.view.KeyEvent event)
-
-
-
Constructor Detail
-
OtpKeyListener
public OtpKeyListener(OtpKeyListener.OtpListener listener)
-
-