Class UsbYubiKeyManager
java.lang.Object
com.yubico.yubikit.android.transport.usb.UsbYubiKeyManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disable()
void
enable
(UsbConfiguration usbConfiguration, com.yubico.yubikit.core.util.Callback<? super UsbYubiKeyDevice> listener) Registers receiver on usb connection event
-
Constructor Details
-
UsbYubiKeyManager
public UsbYubiKeyManager(android.content.Context context)
-
-
Method Details
-
enable
public void enable(UsbConfiguration usbConfiguration, com.yubico.yubikit.core.util.Callback<? super UsbYubiKeyDevice> listener) Registers receiver on usb connection event- Parameters:
usbConfiguration
- contains information if device manager also registers receiver on permissions grant from userlistener
- the UsbSessionListener to react to changes
-
disable
public void disable()
-