# AuthenticationResult.CustomFallbackSelected

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

*** ** * ** ***


```
public final class AuthenticationResult.CustomFallbackSelected implements AuthenticationResult
```

<br />

*** ** * ** ***

The prompt was dismissed because the user clicked a custom fallback option.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected#CustomFallbackSelected(androidx.biometric.AuthenticationRequest.Biometric.Fallback.CustomOption)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption fallback )` |

| ### Public methods |
|---|---|
| `@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected` | `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected#customFallbackSelected()()` Returns a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected` only if it's a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected`, returns null otherwise. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/biometric/AuthenticationRequest.Biometric.Fallback.CustomOption` | `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected#getFallback()()` |

### Inherited methods

From [androidx.biometric.AuthenticationResult](https://developer.android.com/reference/androidx/biometric/AuthenticationResult) `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Error` `https://developer.android.com/reference/androidx/biometric/AuthenticationResult#error()()`

Returns a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Error` only if it's a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Error`, returns null otherwise.
`boolean` `https://developer.android.com/reference/androidx/biometric/AuthenticationResult#isCustomFallbackSelected()()`

Whether this `https://developer.android.com/reference/androidx/biometric/AuthenticationResult` is a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected`.
`boolean` `https://developer.android.com/reference/androidx/biometric/AuthenticationResult#isError()()`

Whether this `https://developer.android.com/reference/androidx/biometric/AuthenticationResult` is an `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Error`.
`boolean` `https://developer.android.com/reference/androidx/biometric/AuthenticationResult#isSuccess()()`

Whether this `https://developer.android.com/reference/androidx/biometric/AuthenticationResult` is a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Success`.
`https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Success` `https://developer.android.com/reference/androidx/biometric/AuthenticationResult#success()()`

Returns a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Success` only if it's a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.Success`, returns null otherwise.

## Public constructors

### CustomFallbackSelected

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

```
public CustomFallbackSelected(
    @NonNull AuthenticationRequest.Biometric.Fallback.CustomOption fallback
)
```

## Public methods

### customFallbackSelected

```
public @NonNull AuthenticationResult.CustomFallbackSelected customFallbackSelected()
```

Returns a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected` only if it's a `https://developer.android.com/reference/androidx/biometric/AuthenticationResult.CustomFallbackSelected`, returns null otherwise.

### getFallback

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

```
public final @NonNull AuthenticationRequest.Biometric.Fallback.CustomOption getFallback()
```