VerificationFieldDisplayProperties


class VerificationFieldDisplayProperties : FieldDisplayProperties


The display metadata associated with a DigitalCredentialField to be rendered in a selector UI style serving the verification purpose.

Summary

Public constructors

VerificationFieldDisplayProperties(
    displayName: CharSequence,
    displayValue: CharSequence?
)

Public functions

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

Public properties

CharSequence

the localized display value for the name of this field; for example, the display name of an ISO mDL age-over-twenty-one property may be "Age over 21" localized

CharSequence?

the localized display value for the value of this field; for example, the display value of an ISO mDL age-over-twenty-one property may be "Yes" localized; a null value means only the display name will be rendered to the user

Inherited properties

From androidx.credentials.registry.provider.digitalcredentials.FieldDisplayProperties
Int

type of the credential selector UI that will be displayed to the user

Public constructors

VerificationFieldDisplayProperties

Added in 1.0.0-alpha01
VerificationFieldDisplayProperties(
    displayName: CharSequence,
    displayValue: CharSequence? = null
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

displayName

Added in 1.0.0-alpha01
val displayNameCharSequence

the localized display value for the name of this field; for example, the display name of an ISO mDL age-over-twenty-one property may be "Age over 21" localized

displayValue

Added in 1.0.0-alpha01
val displayValueCharSequence?

the localized display value for the value of this field; for example, the display value of an ISO mDL age-over-twenty-one property may be "Yes" localized; a null value means only the display name will be rendered to the user