Class UsbConfiguration


  • public class UsbConfiguration
    extends java.lang.Object
    Additional configurations for USB discovery management
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      UsbConfiguration handlePermissions​(boolean handlePermissions)
      Set YubiKitManager to show dialog for permissions on USB connection
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UsbConfiguration

        public UsbConfiguration()
    • 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