OnRequestReceived

fun interface OnRequestReceived

Callback interface for handling requests received during the session.

Parameters

session
matchedCredentials

A list of matched credentials, or null if no credentials were matched. Take a note that this list may contain expired and not-yet-valid credentials. Using MobileCredentialMetaData.validityInfo you can filter these credentials before showing them on the UI.

error

An error that occurred while processing the request, or null if no error occurred.

Functions

Link copied to clipboard
abstract suspend fun onRequestReceived(session: ProximityPresentationSession, matchedCredentials: List<ProximityPresentationSession.CredentialRequestInfo>?, error: Throwable?)