WalletDocumentMetadata

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Data(var provisioned: Boolean = false, var issuingAuthorityIdentifier: String? = null, var documentIdentifier: String? = null, var numDocumentConfigurationsDownloaded: Long = 0, var documentConfiguration: DocumentConfiguration? = null, var issuingAuthorityConfiguration: IssuingAuthorityConfiguration? = null, var state: DocumentState? = null, var documentSlot: Int? = null, var other: ByteString? = null)

Properties

Link copied to clipboard
open override val cardArt: ByteString
Link copied to clipboard
Link copied to clipboard
open override val displayName: String
Link copied to clipboard

The most recent DocumentConfiguration received from the issuer

Link copied to clipboard

The identifier for the document, as assigned by the issuer

Link copied to clipboard
open override val issuerLogo: ByteString
Link copied to clipboard

The identifier for the IssuingAuthority the credential belongs to

Link copied to clipboard

The number of times a DocumentConfiguration has been downloaded from the issuer.

Link copied to clipboard
open override val other: Nothing?
Link copied to clipboard
open override val provisioned: Boolean
Link copied to clipboard

The most recent DocumentState received from the issuer.

Link copied to clipboard
open override val typeDisplayName: String

Functions

Link copied to clipboard
suspend fun initialize(issuingAuthorityIdentifier: String, documentIdentifier: String, documentConfiguration: DocumentConfiguration, issuingAuthorityConfiguration: IssuingAuthorityConfiguration)
Link copied to clipboard
open suspend override fun markAsProvisioned()
Link copied to clipboard
suspend fun refreshState(walletServerProvider: WalletServerProvider)

Gets the document state from the Issuer and updates the .state property with the value.

Link copied to clipboard
suspend fun setDocumentConfiguration(documentConfiguration: DocumentConfiguration)
Link copied to clipboard
suspend fun setDocumentSlot(documentSlot: Int)
Link copied to clipboard
suspend fun setIssuingAuthorityConfiguration(issuingAuthorityConfiguration: IssuingAuthorityConfiguration)
Link copied to clipboard
open suspend override fun setMetadata(displayName: String?, typeDisplayName: String?, cardArt: ByteString?, issuerLogo: ByteString?, other: ByteString?)