WalletSdkApi

interface WalletSdkApi

The public facing api of the wallet sdk. Make sure to call WalletSdk.configure on first usage. In an Android app's dependency injection or in a central point, initialize and configure like this:

val walletSdkApi: WalletSdkApi = WalletSdk
.apply {
configure(WalletSdkConfiguration(walletProviderUrl = "…"))
}

For Swift usage see WalletSdk as it's easier to use the object directly.

Inheritors

Properties

Link copied to clipboard

The public object representation of the attestations. See Attestations for details.

Link copied to clipboard

Holds the current configuration.

Link copied to clipboard

The public object representation of the presentations. See Presentations for details.

Link copied to clipboard
abstract val walletUnit: WalletUnit

The public object representation of the wallet unit. See WalletUnit for details.

Functions

Link copied to clipboard
abstract fun configure(config: WalletSdkConfiguration)

This must be called before any usage of the sdk.