# 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)

*** ** * ** ***


```
class VerificationFieldDisplayProperties : FieldDisplayProperties
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.credentials.registry.provider.digitalcredentials.FieldDisplayProperties](https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties) ||
|   | ↳ | [androidx.credentials.registry.provider.digitalcredentials.VerificationFieldDisplayProperties](https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties) |

*** ** * ** ***

The display metadata associated with a `https://developer.android.com/reference/kotlin/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/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#VerificationFieldDisplayProperties(kotlin.CharSequence,kotlin.CharSequence)( displayName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html, displayValue: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html? )` |

| ### Public functions |
|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#hashCode()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#displayName()` 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 |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-char-sequence/index.html?` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/VerificationFieldDisplayProperties#displayValue()` 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](https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties) |---|---| | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/digitalcredentials/FieldDisplayProperties#displayType()` 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)

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

```
val displayName: 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

### displayValue

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

```
val displayValue: 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