ProximityPresentationSession

Represents a session with a mobile credential verifier using device retrieval as per ISO 18013-5.

Properties

Link copied to clipboard

Base64 encoded deviceEngagement string

Functions

Link copied to clipboard
suspend fun sendResponse(credentialIds: List<String>, activity: Activity, terminateSession: Boolean = false)

Sends a credential presentation response to the verifier.

Link copied to clipboard
suspend fun terminateSession(sessionStatus: <Error class: unknown class> = SessionStatus.SessionTermination)

Terminate the session explicitly, send a status code to the holder, and close data transport. Note that method will also trigger the callback provided by onSessionTerminate(_:).