class MdocEntry : DigitalCredentialEntry


Mdoc entry, a mobile document entry whose format follows the ISO/IEC 18013-5:2021 specification.

Summary

Public constructors

MdocEntry(
    docType: String,
    fields: List<MdocField>,
    entryDisplayPropertySet: Set<EntryDisplayProperties>,
    id: String
)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

String

the DocType, e.g. "org.iso.18013.5.1.mDL" for a mobile driving license

List<MdocField>

the given mdoc's individual properties used both for filtering and display purposes

Inherited properties

From androidx.credentials.registry.provider.digitalcredentials.DigitalCredentialEntry
Set<EntryDisplayProperties>

the display properties associated with the given entry

String

the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen

Public constructors

MdocEntry

MdocEntry(
    docType: String,
    fields: List<MdocField>,
    entryDisplayPropertySet: Set<EntryDisplayProperties>,
    id: String
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

docType

Added in 1.0.0-alpha01
val docTypeString

the DocType, e.g. "org.iso.18013.5.1.mDL" for a mobile driving license

fields

Added in 1.0.0-alpha01
val fieldsList<MdocField>

the given mdoc's individual properties used both for filtering and display purposes