connect

fun connect()

Connects to the CCID reader. This method must be called before any other operations can be performed. It requests permission to access the USB device, opens a connection, and starts listening for card events.

Throws

if the connection to the device fails.

if permission to access the device is denied.