VerificationEntryDisplayProperties


class VerificationEntryDisplayProperties : EntryDisplayProperties


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

The explainer, if set, will be displayed below the entry and rendered as a note (e.g. in a grey background). For example, you can use it to display a note of the terms of your service.

The warning, if set, will be displayed below the entry, in parallel to the explainer and highlighted as a warning (e.g. bolded, in a red background). For example, you can use it to display a warning if the calling app is requesting very sensitive information.

Summary

Public constructors

VerificationEntryDisplayProperties(
    title: CharSequence,
    subtitle: CharSequence?,
    icon: Bitmap,
    explainer: CharSequence?,
    warning: CharSequence?
)

Public functions

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

Public properties

CharSequence?

the additional note or explainer to display for this entry, if applicable

Bitmap

the icon to display for this entry; this icon should be 32x32 and if not will be rescaled into a 32x32 pixel PGN for display

CharSequence?

the subtitle to display for this entry

CharSequence

the title to display for this entry in the Credential Manager selector UI

CharSequence?

the warning to display for this entry, if applicable

Inherited properties

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

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

Public constructors

VerificationEntryDisplayProperties

Added in 1.0.0-alpha01
VerificationEntryDisplayProperties(
    title: CharSequence,
    subtitle: CharSequence?,
    icon: Bitmap,
    explainer: CharSequence? = null,
    warning: CharSequence? = null
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

explainer

Added in 1.0.0-alpha01
val explainerCharSequence?

the additional note or explainer to display for this entry, if applicable

icon

Added in 1.0.0-alpha01
val iconBitmap

the icon to display for this entry; this icon should be 32x32 and if not will be rescaled into a 32x32 pixel PGN for display

subtitle

Added in 1.0.0-alpha01
val subtitleCharSequence?

the subtitle to display for this entry

title

Added in 1.0.0-alpha01
val titleCharSequence

the title to display for this entry in the Credential Manager selector UI

warning

Added in 1.0.0-alpha01
val warningCharSequence?

the warning to display for this entry, if applicable