RemotePresentation

class RemotePresentation(wallet: WalletHandle, context: Context, options: WalletSdkOptions)

Constructors

Link copied to clipboard
constructor(wallet: WalletHandle, context: Context, options: WalletSdkOptions)

Properties

Link copied to clipboard
val tag: String

Log tag for this component.

Functions

Link copied to clipboard
suspend fun handle(qrCodeData: String, language: String = "en", askConsent: suspend (ConsentPromptData) -> Boolean, authenticate: suspend () -> Boolean, onSuccess: () -> Unit, upgrade: Boolean = false): String?

Presentation with operation-level user verification: a single biometric gates the whole presentation (no per-key CryptoObject). Use with window-timeout keys (userAuthenticationRequired = true, timeout > 0).

suspend fun handle(qrCodeData: String, language: String = "en", askConsent: suspend (ConsentPromptData) -> Boolean, authenticate: suspend (cryptoObject: BiometricPrompt.CryptoObject, onAuthenticated: suspend (BiometricPrompt.CryptoObject) -> Unit) -> Boolean, onSuccess: () -> Unit, upgrade: Boolean = false): String?

Presentation with per-operation user verification: each key use is bound to a BiometricPrompt.CryptoObject. Intended for per-use (timeout = 0) keys. Preserved as the original SDK entry point.

Link copied to clipboard
suspend fun inspectRequest(qrCodeData: String, language: String = "en"): PresentationRequestPreview?