class MdocField : DigitalCredentialField


A property of a MdocEntry.

Summary

Public constructors

MdocField(
    fieldName: String,
    fieldValue: Any?,
    fieldDisplayPropertySet: Set<FieldDisplayProperties>
)

Public functions

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

Public properties

String

the field name, used for matching purpose; for example, the field name of an ISO mDL age-over-twenty-one property is "org.iso.18013.5.1.age_over_21"

Any?

the field value, used for matching purpose; for example, the field value of an ISO mDL age-over-twenty-one property may be true; a null value means that the exact value of this field cannot be used for matching (e.g. a user photo), or in other words, attempt to do value matching on this field will automatically fail

Public constructors

MdocField

MdocField(
    fieldName: String,
    fieldValue: Any?,
    fieldDisplayPropertySet: Set<FieldDisplayProperties>
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

fieldName

Added in 1.0.0-alpha01
val fieldNameString

the field name, used for matching purpose; for example, the field name of an ISO mDL age-over-twenty-one property is "org.iso.18013.5.1.age_over_21"

fieldValue

Added in 1.0.0-alpha01
val fieldValueAny?

the field value, used for matching purpose; for example, the field value of an ISO mDL age-over-twenty-one property may be true; a null value means that the exact value of this field cannot be used for matching (e.g. a user photo), or in other words, attempt to do value matching on this field will automatically fail