VerificationFieldDisplayProperties


public final class VerificationFieldDisplayProperties extends FieldDisplayProperties


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

Summary

Public constructors

VerificationFieldDisplayProperties(
    @NonNull CharSequence displayName,
    CharSequence displayValue
)

Public methods

boolean
equals(Object other)
final @NonNull 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

final 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

int

Inherited methods

final int

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

Public constructors

VerificationFieldDisplayProperties

Added in 1.0.0-alpha01
public VerificationFieldDisplayProperties(
    @NonNull CharSequence displayName,
    CharSequence displayValue
)

Public methods

equals

public boolean equals(Object other)

getDisplayName

Added in 1.0.0-alpha01
public final @NonNull CharSequence getDisplayName()

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

getDisplayValue

Added in 1.0.0-alpha01
public final CharSequence getDisplayValue()

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

hashCode

public int hashCode()