hasPermission

fun hasPermission(device: UsbDevice): Boolean

return whether the specific Usb device has permission

Return

true: 指定したUsbDeviceにパーミッションがある

Parameters

device

Throws

java.lang.IllegalStateException