HandleAppFunctionRequestAdapter


@ExperimentalAppFunctionsApi
interface HandleAppFunctionRequestAdapter<T : Any>


An adapter for an interface annotated with AppFunctionSignature.

Implementations of this interface are generated by the AppFunction compiler for interfaces annotated with AppFunctionSignature, and should not be manually implemented.

Instances of this adapter can be obtained via AppFunctionManager.getHandleAppFunctionRequestAdapter.

Parameters
<T : Any>

The type of the interface annotated with AppFunctionSignature.

Summary

Public functions

HandleAppFunctionRequest
adapt(instance: T)

Creates a HandleAppFunctionRequest for the given instance.

Public properties

String

The unique identifier of the app function.

Public functions

adapt

Added in 1.0.0-alpha11
fun adapt(instance: T): HandleAppFunctionRequest

Creates a HandleAppFunctionRequest for the given instance.

Parameters
instance: T

The implementation of the app function interface.

Public properties

functionIdentifier

Added in 1.0.0-alpha11
val functionIdentifierString

The unique identifier of the app function.