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

Link copied to clipboard

How a presentment obtains consent: the SDK's consent sheet, or none (the host already asked).

Link copied to clipboard
sealed interface ScannedCode

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.

Link copied to clipboard
object Wallet

Entry point for the Wallet SDK.

Link copied to clipboard
interface WalletSdk

The SDK object your app creates once. It has both roles: wallet holds and shares credentials, and verifier reads and checks them. Most apps use one of the two.

Functions

Link copied to clipboard

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.