WalletDocumentMetadata
AbstractDocumentMetadata implementation for the Wallet app.
Types
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
Link copied to clipboard
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
Link copied to clipboard
The most recent IssuingAuthorityConfiguration received from the issuer
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
Link copied to clipboard
The most recent DocumentState received from the issuer.
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
suspend fun initialize(issuingAuthorityIdentifier: String, documentIdentifier: String, documentConfiguration: DocumentConfiguration, issuingAuthorityConfiguration: IssuingAuthorityConfiguration)
Link copied to clipboard
Link copied to clipboard
Gets the document state from the Issuer and updates the .state property with the value.
Link copied to clipboard
Link copied to clipboard
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?)