# VerificationEntryDisplayProperties

Artifact: [androidx.credentials.registry:registry-provider](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties.kt+class:androidx.credentials.registry.provider.digitalcredentials.VerificationEntryDisplayProperties) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***

<br />

```
public final class VerificationEntryDisplayProperties extends EntryDisplayProperties
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.credentials.registry.provider.digitalcredentials.EntryDisplayProperties](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/EntryDisplayProperties) ||
|   | ↳ | [androidx.credentials.registry.provider.digitalcredentials.VerificationEntryDisplayProperties](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties) |

*** ** * ** ***

The display metadata associated with a `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/DigitalCredentialEntry` to be rendered in a selector UI style serving the verification purpose.

The `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#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 `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#warning()`, if set, will be displayed below the entry, in parallel to the `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#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 |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#VerificationEntryDisplayProperties(kotlin.CharSequence,kotlin.CharSequence,android.graphics.Bitmap,kotlin.CharSequence,kotlin.CharSequence,kotlin.CharSequence)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html title, https://developer.android.com/reference/java/lang/CharSequence.html subtitle, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Bitmap.html icon, https://developer.android.com/reference/java/lang/CharSequence.html explainer, https://developer.android.com/reference/java/lang/CharSequence.html warning, https://developer.android.com/reference/java/lang/CharSequence.html metadataDisplayText )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getExplainer()()` the additional note or explainer to display for this entry, if applicable |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Bitmap.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getIcon()()` 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 |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getMetadataDisplayText()()` the metadata text to display for this entry, if applicable |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getSubtitle()()` the subtitle to display for this entry |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getTitle()()` the title to display for this entry in the Credential Manager selector UI |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#getWarning()()` the warning to display for this entry, if applicable |
| `int` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationEntryDisplayProperties#hashCode()()` |

### Inherited methods

From [androidx.credentials.registry.provider.digitalcredentials.EntryDisplayProperties](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/EntryDisplayProperties) `final int` `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/EntryDisplayProperties#getDisplayType()()`

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

## Public constructors

### VerificationEntryDisplayProperties

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public VerificationEntryDisplayProperties(
    @NonNull CharSequence title,
    CharSequence subtitle,
    @NonNull Bitmap icon,
    CharSequence explainer,
    CharSequence warning,
    CharSequence metadataDisplayText
)
```

## Public methods

### equals

```
public boolean equals(Object other)
```

### getExplainer

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final CharSequence getExplainer()
```

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

### getIcon

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final @NonNull Bitmap getIcon()
```

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

### getMetadataDisplayText

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final CharSequence getMetadataDisplayText()
```

the metadata text to display for this entry, if applicable

### getSubtitle

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final CharSequence getSubtitle()
```

the subtitle to display for this entry

### getTitle

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final @NonNull CharSequence getTitle()
```

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

### getWarning

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
public final CharSequence getWarning()
```

the warning to display for this entry, if applicable

### hashCode

```
public int hashCode()
```