WalletBranding

The wallet UI's brand settings: the app's name, the brand typeface, each credential's card face and the app's own credential types. Apps normally set all of it at once with WalletBrand.use.

Brand-neutral by default: doctypes without a registered face get the SDK's neutral face. Call install once before the first SDK screen shows (the SDK screens also call it themselves), so every SDK sheet (presenting, consent) uses the same name, theme and card art.

Properties

Link copied to clipboard

The wallet's name on the consent and presentment sheets.

Link copied to clipboard

Card faces by doctype (see CardFace); other doctypes get the neutral face.

Link copied to clipboard

The app's own credential types, so their values render with the right labels and formats.

Link copied to clipboard

The brand typeface, applied to theme's type scale and to card-face text. Null = platform default.

Link copied to clipboard
val theme: @Composable (content: @Composable () -> Unit) -> Unit

The SDK's Material theme (palette + typography); wrap your own screens in it to match.

Link copied to clipboard

Material 3 typography in the brand typeface, for apps that build their own MaterialTheme.

Functions

Link copied to clipboard
fun install()

Makes this brand the SDK's current branding. Idempotent; safe to call from every entry point.