onDisconnect

open fun onDisconnect(reason: DisconnectReason)

This method is called when the reader has disconnected from the SDK, and includes the reason for the disconnect.

Parameters

reason

The reason for the disconnect, or DisconnectReason.UNKNOWN if the reason is not known.