# RegisterAppFunctionRequest

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

*** ** * ** ***


```
@ExperimentalAppFunctionsApi
class RegisterAppFunctionRequest
```

<br />

*** ** * ** ***

A request to register an `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunction` implementation, provided to `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionManager#registerAppFunctions(kotlin.collections.List)`.

This encapsulates the information needed to register a single app function, equivalent to the arguments to `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunctionManager#registerAppFunction(kotlin.String,java.util.concurrent.Executor,androidx.appfunctions.AppFunction)`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/appfunctions/RegisterAppFunctionRequest#RegisterAppFunctionRequest(kotlin.String,java.util.concurrent.Executor,androidx.appfunctions.AppFunction)( functionIdentifier: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, executor: https://developer.android.com/reference/java/util/concurrent/Executor.html, appFunction: https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunction )` |

| ### Public properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/appfunctions/AppFunction` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/RegisterAppFunctionRequest#appFunction()` The implementation of the app function. |
| `https://developer.android.com/reference/java/util/concurrent/Executor.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/RegisterAppFunctionRequest#executor()` The `https://developer.android.com/reference/java/util/concurrent/Executor.html` on which the function will be invoked. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/appfunctions/RegisterAppFunctionRequest#functionIdentifier()` The unique identifier of the app function. |

## Public constructors

### RegisterAppFunctionRequest

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

```
RegisterAppFunctionRequest(
    functionIdentifier: String,
    executor: Executor,
    appFunction: AppFunction
)
```

## Public properties

### appFunction

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

```
val appFunction: AppFunction
```

The implementation of the app function.

### executor

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

```
val executor: Executor
```

The `https://developer.android.com/reference/java/util/concurrent/Executor.html` on which the function will be invoked.

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