Class UsbConfiguration

java.lang.Object
com.yubico.yubikit.android.transport.usb.UsbConfiguration

public class UsbConfiguration extends Object
Additional configurations for USB discovery management
  • Constructor Details

    • UsbConfiguration

      public UsbConfiguration()
  • Method Details

    • 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