Builder

class Builder

Functions

Link copied to clipboard
Link copied to clipboard
fun setContext(context: Context): <Error class: unknown class>

Provide the application context (required input).

Link copied to clipboard
fun setDatabaseName(databaseName: String): <Error class: unknown class>

Provide the database name to use for exportable key store database.

Link copied to clipboard
fun setKeyManager(keyManager: KeyManagerInterface): <Error class: unknown class>

Provide the implementation of the KeyManagerInterface used for key management and cryptographic operations (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard
fun setLogger(logger: Logger): <Error class: unknown class>

Provide the implementation of the Logger used for logging errors (optional input). If a value is not supplied a default implementation will be used.

Link copied to clipboard
fun setNamespace(namespace: String): <Error class: unknown class>

Provide the namespace to use for internal data and cryptographic keys. This should be unique per client per app to avoid name conflicts between multiple clients. If a value is not supplied a default value will be used.

Link copied to clipboard
fun setNotificationHandler(notificationHandler: SudoVirtualCardsNotificationHandler): <Error class: unknown class>

Provide the notification handler (required input).