# AuthenticationRequest.Biometric.Fallback

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) Added in [1.4.0-beta01](https://developer.android.com/jetpack/androidx/releases/biometric#1.4.0-beta01)

*** ** * ** ***


```
abstract class AuthenticationRequest.Biometric.Fallback
```

<br />

Known direct subclasses [AuthenticationRequest.Biometric.Fallback.CustomOption](https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption), [AuthenticationRequest.Biometric.Fallback.DeviceCredential](https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.DeviceCredential)

|---|---|
| `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. |
| `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.DeviceCredential` | Device credential as the fallback. |

*** ** * ** ***

Fallback options for the biometric authentication. This may be triggered by the user manually pressing the button, or biometric fails too many times and is locked out.

## Summary

| ### Nested types |
|---|
| `class https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption : https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback` 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. |
| `object https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback.DeviceCredential : https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback` Device credential as the fallback. |

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_ACCOUNT()` An icon representing a user account. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_GENERIC()` A generic icon. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_PASSWORD()` An icon representing a password. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_QR_CODE()` An icon representing a QR code. |

## Constants

### ICON_TYPE_ACCOUNT

```
const val ICON_TYPE_ACCOUNT: Int
```

An icon representing a user account.

### ICON_TYPE_GENERIC

```
const val ICON_TYPE_GENERIC: Int
```

A generic icon.

### ICON_TYPE_PASSWORD

```
const val ICON_TYPE_PASSWORD: Int
```

An icon representing a password.

### ICON_TYPE_QR_CODE

```
const val ICON_TYPE_QR_CODE: Int
```

An icon representing a QR code.