# 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
interface AuthenticationResultLauncher
```

<br />

*** ** * ** ***

A launcher for a previously-`https://developer.android.com/reference/kotlin/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 functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher#cancel()()` Cancel the authentication, unregisters this launcher, releasing the underlying result callback, and any references captured within it. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher#launch(androidx.biometric.AuthenticationRequest)(input: https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationRequest)` Executes an authentication given the required `https://developer.android.com/reference/kotlin/androidx/biometric/AuthenticationResultLauncher#launch(androidx.biometric.AuthenticationRequest)`.This can't be called until the fragment or activity's Lifecycle has reached CREATED. |

## Public functions

### cancel

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

```
fun cancel(): Unit
```

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)

```
fun launch(input: AuthenticationRequest): Unit
```

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