Class UsbYubiKeyManager

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      synchronized void enable(UsbConfiguration usbConfiguration, Callback<in UsbYubiKeyDevice> listener) Registers receiver on usb connection event
      synchronized void disable()
      • Methods inherited from class java.lang.Object

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

      • UsbYubiKeyManager

        UsbYubiKeyManager(Context context)
    • Method Detail

      • enable

         synchronized void enable(UsbConfiguration usbConfiguration, Callback<in UsbYubiKeyDevice> listener)

        Registers receiver on usb connection event

        Parameters:
        usbConfiguration - contains information if device manager also registers receiver on permissions grant from user
        listener - the UsbSessionListener to react to changes
      • disable

         synchronized void disable()