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

*** ** * ** ***


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

<br />

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

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

| ### Constants |
|---|---|
| `static final int` | `https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_ACCOUNT()` An icon representing a user account. |
| `static final int` | `https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_GENERIC()` A generic icon. |
| `static final int` | `https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_PASSWORD()` An icon representing a password. |
| `static final int` | `https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback#ICON_TYPE_QR_CODE()` An icon representing a QR code. |

## Constants

### ICON_TYPE_ACCOUNT

```
public static final int ICON_TYPE_ACCOUNT
```

An icon representing a user account.

### ICON_TYPE_GENERIC

```
public static final int ICON_TYPE_GENERIC
```

A generic icon.

### ICON_TYPE_PASSWORD

```
public static final int ICON_TYPE_PASSWORD
```

An icon representing a password.

### ICON_TYPE_QR_CODE

```
public static final int ICON_TYPE_QR_CODE
```

An icon representing a QR code.