RegisterAppFunctionRequest


@ExperimentalAppFunctionsApi
class RegisterAppFunctionRequest


A request to register an AppFunction implementation, provided to AppFunctionManager.registerAppFunctions.

This encapsulates the information needed to register a single app function, equivalent to the arguments to AppFunctionManager.registerAppFunction.

Summary

Public constructors

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

Public properties

AppFunction

The implementation of the app function.

Executor

The Executor on which the function will be invoked.

String

The unique identifier of the app function.

Public constructors

RegisterAppFunctionRequest

Added in 1.0.0-alpha13
RegisterAppFunctionRequest(
    functionIdentifier: String,
    executor: Executor,
    appFunction: AppFunction
)

Public properties

appFunction

Added in 1.0.0-alpha13
val appFunction: AppFunction

The implementation of the app function.

executor

Added in 1.0.0-alpha13
val executor: Executor

The Executor on which the function will be invoked.

functionIdentifier

Added in 1.0.0-alpha13
val functionIdentifier: String

The unique identifier of the app function.