# AuthenticationRequest.Biometric.Fallback.CustomOption

Artifact: [androidx.biometric:biometric](https://developer.android.com/jetpack/androidx/releases/biometric) [View Source](https://cs.android.com/search?q=file:androidx/biometric/AuthenticationRequest.kt+class:androidx.biometric.AuthenticationRequest.Biometric.Fallback.CustomOption) Added in [1.4.0-beta01](https://developer.android.com/jetpack/androidx/releases/biometric#1.4.0-beta01)

*** ** * ** ***


```
class AuthenticationRequest.Biometric.Fallback.CustomOption : AuthenticationRequest.Biometric.Fallback
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.biometric.AuthenticationRequest.Biometric.Fallback](https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback) ||
|   | ↳ | [androidx.biometric.AuthenticationRequest.Biometric.Fallback.CustomOption](https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption) |

*** ** * ** ***

Custom Fallback option displayed as the negative button in prompt authentication screen if it is the only option or displayed in a list in the fallback options page if there are more than one.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption#CustomOption(kotlin.String,kotlin.Int)(text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, iconType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption#iconType()` Icon to be shown for the fallback option |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption#text()` Text to be shown on the fallback option for the prompt. |

## Public constructors

### CustomOption

Added in [1.4.0-beta01](https://developer.android.com/jetpack/androidx/releases/biometric#1.4.0-beta01)

```
CustomOption(text: String, iconType: Int = ICON_TYPE_GENERIC)
```

| Parameters |
|---|---|
| `text: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | Text to be shown on the fallback option for the prompt. |
| `iconType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html = ICON_TYPE_GENERIC` | Icon to be shown for the fallback option Value is one of the following: - `0` - `1` - `2` - `3` <br /> |

## Public properties

### iconType

Added in [1.4.0-beta01](https://developer.android.com/jetpack/androidx/releases/biometric#1.4.0-beta01)

```
val iconType: Int
```

Icon to be shown for the fallback option

### text

Added in [1.4.0-beta01](https://developer.android.com/jetpack/androidx/releases/biometric#1.4.0-beta01)

```
val text: String
```

Text to be shown on the fallback option for the prompt.