start Card Detection
Starts monitoring the reader for card detection events asynchronously.
When a card is detected in the reader, the provided onCardDetected callback is invoked. This function does not block the calling thread and is suitable for use in event-driven or UI-based applications.
Since
1.0.0
Parameters
on Card Detected
The callback function to invoke when a card is detected.
Throws
If an I/O error occurs while communicating with the reader.