Class UsbConfiguration
- java.lang.Object
-
- com.yubico.yubikit.android.transport.usb.UsbConfiguration
-
public class UsbConfiguration extends java.lang.ObjectAdditional configurations for USB discovery management
-
-
Constructor Summary
Constructors Constructor Description UsbConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsbConfigurationhandlePermissions(boolean handlePermissions)Set YubiKitManager to show dialog for permissions on USB connection
-
-
-
Method Detail
-
handlePermissions
public UsbConfiguration handlePermissions(boolean handlePermissions)
Set YubiKitManager to show dialog for permissions on USB connection- Parameters:
handlePermissions- true to show dialog for permissions otherwise it's delegated on user to make sure that application has permissions to communicate with device- Returns:
- the UsbConfiguration, for chaining
-
-