# AuthenticationResultLauncher

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

*** ** * ** ***


```
@MainThread
public interface AuthenticationResultLauncher
```

<br />

*** ** * ** ***

A launcher for a previously-`https://developer.android.com/reference/androidx/biometric/package-summary#(androidx.activity.ComponentActivity).registerForAuthenticationResult(java.util.concurrent.Executor,androidx.biometric.AuthenticationResultCallback)` to start the process of executing an authentication.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/biometric/AuthenticationResultLauncher#cancel()()` Cancel the authentication, unregisters this launcher, releasing the underlying result callback, and any references captured within it. |
| `abstract void` | `https://developer.android.com/reference/androidx/biometric/AuthenticationResultLauncher#launch(androidx.biometric.AuthenticationRequest)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/biometric/AuthenticationRequest input)` Executes an authentication given the required `https://developer.android.com/reference/androidx/biometric/AuthenticationResultLauncher#launch(androidx.biometric.AuthenticationRequest)`.This can't be called until the fragment or activity's Lifecycle has reached CREATED. |

## Public methods

### cancel

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

```
abstract void cancel()
```

Cancel the authentication, unregisters this launcher, releasing the underlying result callback, and any references captured within it.

### launch

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

```
abstract void launch(@NonNull AuthenticationRequest input)
```

Executes an authentication given the required `https://developer.android.com/reference/androidx/biometric/AuthenticationResultLauncher#launch(androidx.biometric.AuthenticationRequest)`.This can't be called until the fragment or activity's Lifecycle has reached CREATED.