Class UsbYubiKeyManager


  • public class UsbYubiKeyManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      UsbYubiKeyManager​(android.content.Context context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void disable()  
      void enable​(UsbConfiguration usbConfiguration, com.yubico.yubikit.core.util.Callback<? super UsbYubiKeyDevice> listener)
      Registers receiver on usb connection event
      • Methods inherited from class java.lang.Object

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

      • UsbYubiKeyManager

        public UsbYubiKeyManager​(android.content.Context context)
    • Method Detail

      • 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 user
        listener - the UsbSessionListener to react to changes
      • disable

        public void disable()