ProximitySession

Single-use, wallet-owned proximity presentation session.

Properties

Link copied to clipboard

Winning route once connected; remains available through review and termination.

Link copied to clipboard

Most recent request eligible for explicit preparation. Never authorizes disclosure by itself.

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

Hot state stream whose variants define the only legal phase data and actions.

Functions

Link copied to clipboard
abstract suspend fun close()

Idempotently cancels an active session and releases all session-owned resources.

Link copied to clipboard
abstract suspend fun dispatch(action: ProximityAction): ProximityActionResult

Dispatches one state-bound action. Illegal or stale actions are rejected without side effects.

Link copied to clipboard
open suspend fun dispatchStatusReviewed(action: ProximityAction, reviewedStatus: Map<String, String>): ProximityActionResult

Opt-in host review of selected cached credential-status warnings; performs no status requests.