# VerificationFieldDisplayProperties

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/VerificationFieldDisplayProperties.kt+class:androidx.credentials.registry.provider.digitalcredentials.VerificationFieldDisplayProperties) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
public final class VerificationFieldDisplayProperties extends FieldDisplayProperties
```

<br />

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

*** ** * ** ***

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

| Throws |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-illegal-argument-exception/index.html` | if `displayName` is empty or blank |

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#VerificationFieldDisplayProperties(kotlin.CharSequence,kotlin.CharSequence)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/CharSequence.html displayName, https://developer.android.com/reference/java/lang/CharSequence.html displayValue )` |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#equals(kotlin.Any)(https://developer.android.com/reference/java/lang/Object.html other)` |
| `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/VerificationFieldDisplayProperties#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 |
| `final https://developer.android.com/reference/java/lang/CharSequence.html` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#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 |
| `int` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#hashCode()()` |

| ### Inherited methods |
|---|
| From [androidx.credentials.registry.provider.digitalcredentials.FieldDisplayProperties](https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties) |---|---| | `final int` | `https://developer.android.com/reference/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties#getDisplayType()()` type of the credential selector UI that will be displayed to the user | |

## Public constructors

### VerificationFieldDisplayProperties

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

```
public VerificationFieldDisplayProperties(
    @NonNull CharSequence displayName,
    CharSequence displayValue
)
```

## Public methods

### equals

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

### getDisplayName

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

```
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-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
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()
```