androidx.appfunctions


Interfaces

AppFunctionContext

The execution context of app function.

ExecuteAppFunctionResponse

Represents a response of an execution of an app function.

Classes

AppFunctionData

A data class to contain information to be communicated between AppFunctions apps and agents.

AppFunctionData.Builder

Builder for constructing AppFunctionData

AppFunctionManagerCompat

Provides access to interact with App Functions.

AppFunctionSearchSpec

Defines the specifications for filtering and searching app function snapshots.

ExecuteAppFunctionRequest

Represents a request to execute a specific app function.

ExecuteAppFunctionResponse.Error

Represents a failed execution of an app function.

ExecuteAppFunctionResponse.Success

Represents a successful execution of an app function.

Exceptions

AppFunctionAppException

Thrown when an error is caused by the app providing the function.

AppFunctionAppUnknownException

Thrown when an unknown error occurred while processing the call in the AppFunctionService.

AppFunctionCancelledException

Thrown when an operation was cancelled.

AppFunctionDeniedException

Thrown when the caller does not have the permission to execute an app function.

AppFunctionDisabledException

Thrown when the caller tried to execute a disabled app function.

AppFunctionElementAlreadyExistsException

Thrown when the caller tried to create a resource/entity that already exists or has conflicts with existing resource/entity.

AppFunctionElementNotFoundException

Thrown when the caller tried to request a resource/entity that does not exist.

AppFunctionException

An exception that is thrown when an error occurs during an app function execution.

AppFunctionFunctionNotFoundException

Thrown when the caller tries to execute a function that does not exist.

AppFunctionInvalidArgumentException

Thrown when the caller supplied invalid arguments to ExecuteAppFunctionRequest's parameters.

AppFunctionLimitExceededException

Thrown when the caller exceeded the allowed request rate.

AppFunctionNotSupportedException

Thrown when an app receives a request to perform an unsupported action.

AppFunctionPermissionRequiredException

Thrown when the app lacks the necessary permission to fulfill the request.

AppFunctionRequestException

Thrown when the error is caused by the app requesting a function execution.

AppFunctionSystemException

Thrown when an internal unexpected error comes from the system.

AppFunctionSystemUnknownException

Thrown when an internal unexpected error comes from the system.

AppFunctionUnknownException

Thrown when an unknown error has occurred.

Annotations

AppFunctionSerializable

Annotates a class to indicate that it can be serialized and transferred between processes using AppFunction.