onTerminated

abstract fun onTerminated(error: Throwable? = null)

This function is invoked when a session is terminated.

A message from the holder cannot be processed due to invalid CBOR format or a cryptography-related issue.VerifierException.SessionTerminatedException.SessionStatusCodeSentException
The holder indicated that an incoming message from verifier cannot be processed due to invalid CBOR format or a cryptography-related issue.VerifierException.SessionTerminatedException.SessionStatusCodeReceivedException
The verifier terminates the session by calling MobileCredentialVerifier.terminateProximityPresentationSession.null
The holder terminates the session.null
BLE connection lost.VerifierException.DataTransportDisconnectedException
Session timeout.VerifierException.InactivitySessionTimedOutException