Package-level declarations
The entry point: create one WalletSdk with Wallet.createVerifier, Wallet.createWallet or Wallet.create, and keep it for the app's lifetime.
The entry point: create one WalletSdk with Wallet.createVerifier, Wallet.createWallet or Wallet.create, and keep it for the app's lifetime.
Types
How a presentment obtains consent: the SDK's consent sheet, or none (the host already asked).
What a scanned QR code (or an incoming deep link) asks the wallet to do: the standard request and offer links, plus the short wallet link the SDK's web verify box shows in its QR code (https://<host>/w/<id>). Other app-specific links are the app's to translate first.
Functions
Register this wallet as an Android Digital Credentials provider (Credential Manager), so that when a site calls the W3C Digital Credentials API (navigator.credentials.get) Android shows a wallet picker including this app. When the user picks it, Credential Manager opens the SDK's ID-sheet screen (com.wallet.ui.WalletDigitalCredentialsActivity from sdk-ui-compose, once the app merges the androidx.credentials.registry.provider.action.GET_CREDENTIAL intent-filter onto it; see WalletDcApiPresentment) to run consent + response.