Class OtpConnectionHandler

java.lang.Object
com.yubico.yubikit.android.transport.usb.connection.OtpConnectionHandler
All Implemented Interfaces:
ConnectionHandler<UsbOtpConnection>

public class OtpConnectionHandler extends Object
  • Constructor Details

    • OtpConnectionHandler

      public OtpConnectionHandler()
  • Method Details

    • createConnection

      public UsbOtpConnection createConnection(android.hardware.usb.UsbDevice usbDevice, android.hardware.usb.UsbDeviceConnection usbDeviceConnection) throws IOException
      Throws:
      IOException
    • isAvailable

      public boolean isAvailable(android.hardware.usb.UsbDevice usbDevice)
      Specified by:
      isAvailable in interface ConnectionHandler<T extends com.yubico.yubikit.core.YubiKeyConnection>
    • getClaimedInterface

      protected android.hardware.usb.UsbInterface getClaimedInterface(android.hardware.usb.UsbDevice usbDevice, android.hardware.usb.UsbDeviceConnection usbDeviceConnection) throws IOException
      Throws:
      IOException