WalletDcApiPresentmentActivity

abstract class WalletDcApiPresentmentActivity : CredentialManagerPresentmentActivity

Presents over the W3C Digital Credentials API on Android: a browser calls navigator.credentials.get({ digital: … }), the user picks this wallet in the system sheet, and Credential Manager launches this activity. The SDK runs the exchange; this wires it to the wallet's store, branding and reader trust.

Extend it, supply sdk, and register the subclass in the manifest for androidx.credentials.registry.provider.action.GET_CREDENTIAL. Documents are registered with com.wallet.registerAsDcProvider.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Browsers trusted to report the web origin (androidx.credentials CallingAppInfo.getOrigin format; Google's full list: gstatic.com/gpm-passkeys-privileged-apps/apps.json). Default: Chrome.

Link copied to clipboard
abstract val sdk: WalletSdk

The wallet whose documents are presented.

Functions

Link copied to clipboard
open suspend override fun getSettings(): CredentialManagerPresentmentActivity.Settings

Wires the flow to the wallet's store, branding and reader trust. @suppress