# HandleAppFunctionRequest

Artifact: [androidx.appfunctions:appfunctions](https://developer.android.com/jetpack/androidx/releases/appfunctions) [View Source](https://cs.android.com/search?q=file:androidx/appfunctions/HandleAppFunctionRequest.kt+class:androidx.appfunctions.HandleAppFunctionRequest) Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

*** ** * ** ***


```
@ExperimentalAppFunctionsApi
class HandleAppFunctionRequest
```

<br />

*** ** * ** ***

A request to register a `https://developer.android.com/reference/kotlin/androidx/appfunctions/SuspendingAppFunction` implementation, provided to `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionManager#handleAppFunction(kotlin.String,androidx.appfunctions.SuspendingAppFunction)`.

This encapsulates the information needed to register a single app function.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/appfunctions/HandleAppFunctionRequest#HandleAppFunctionRequest(kotlin.String,androidx.appfunctions.SuspendingAppFunction)( functionIdentifier: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, appFunction: https://developer.android.com/reference/kotlin/androidx/appfunctions/SuspendingAppFunction )` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appfunctions/SuspendingAppFunction` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/HandleAppFunctionRequest#appFunction()` The implementation of the app function. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/HandleAppFunctionRequest#functionIdentifier()` The unique identifier of the app function. |

## Public constructors

### HandleAppFunctionRequest

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

```
HandleAppFunctionRequest(
    functionIdentifier: String,
    appFunction: SuspendingAppFunction
)
```

## Public properties

### appFunction

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

```
val appFunction: SuspendingAppFunction
```

The implementation of the app function.

### functionIdentifier

Added in [1.0.0-rc01](https://developer.android.com/jetpack/androidx/releases/appfunctions#1.0.0-rc01)

```
val functionIdentifier: String
```

The unique identifier of the app function.