DocumentMetadata
Implementation of AbstractDocumentMetadata suitable for most use-cases.
Properties
Link copied to clipboard
User-facing name of this specific Document instance, e.g. "John's Passport".
Link copied to clipboard
An image that represents the issuer of the document in the UI, e.g. passport office logo. PNG format is expected, transparency is supported and square aspect ratio is preferred.
Link copied to clipboard
Whether the document is provisioned, i.e. issuer is ready to provide credentials.
Link copied to clipboard
User-facing name of this document type, e.g. "Utopia Passport".
Functions
Link copied to clipboard
Marks the document as being provisioned.
Link copied to clipboard
open suspend override fun setMetadata(displayName: String?, typeDisplayName: String?, cardArt: ByteString?, issuerLogo: ByteString?, other: ByteString?)
Updates the metadata for the document.