PresentmentSession

An in-person presentation in progress. Observe state.

A phone runs one Bluetooth exchange at a time, so don't present and verify in person at the same moment.

Properties

Link copied to clipboard
abstract val state: StateFlow<PresentmentState>

Functions

Link copied to clipboard
abstract fun approve(disclosedAttributes: Set<String>)

Approve releasing the reader-requested attributes shown in PresentmentState.Consent.

Link copied to clipboard
abstract fun cancel()

Decline the request / abort the session.