RegisterAppFunctionRequest


@ExperimentalAppFunctionsApi
class RegisterAppFunctionRequest


A request to register a CallbackAppFunction 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: CallbackAppFunction
)

Public properties

CallbackAppFunction

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-alpha12
RegisterAppFunctionRequest(
    functionIdentifier: String,
    executor: Executor,
    appFunction: CallbackAppFunction
)

Public properties

appFunction

Added in 1.0.0-alpha12
val appFunctionCallbackAppFunction

The implementation of the app function.

executor

Added in 1.0.0-alpha12
val executorExecutor

The Executor on which the function will be invoked.

functionIdentifier

Added in 1.0.0-alpha12
val functionIdentifierString

The unique identifier of the app function.