Android.App.AppFunctions Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types to expose, discover, and execute app functions.
Classes
| Name | Description |
|---|---|
| AppFunctionActivityId |
An identifier of an |
| AppFunctionActivityId.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionActivityId. |
| AppFunctionActivityState |
The state of an activity from the perspective of app functions, retrieved using |
| AppFunctionActivityState.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionActivityState. |
| AppFunctionException |
App function related error. |
| AppFunctionException.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionException. |
| AppFunctionManager |
Provides access to App Functions. |
| AppFunctionMetadata |
Contains an app function's metadata, essential for its invocation and discovery, retrieved using
|
| AppFunctionMetadata.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionMetadata. |
| AppFunctionName |
Globally unique identifier for an app function. |
| AppFunctionName.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionName. |
| AppFunctionPackageMetadata |
Contains metadata about a package providing app functions. |
| AppFunctionPackageMetadata.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionPackageMetadata. |
| AppFunctionSchemaMetadata |
Contains identifying metadata for a predefined schema, which can describe well-known function signatures. |
| AppFunctionSchemaMetadata.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionSchemaMetadata. |
| AppFunctionSearchSpec |
Filter criteria for |
| AppFunctionSearchSpec.Builder |
Builder for constructing |
| AppFunctionSearchSpec.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionSearchSpec. |
| AppFunctionService |
Extend this class to implement app functions, that can be executed by |
| AppFunctionState |
Runtime state of an app function, retrieved using |
| AppFunctionState.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionState. |
| AppFunctionUriGrant |
|
| AppFunctionUriGrant.InterfaceConsts |
Contains the IParcelable constants exposed for AppFunctionUriGrant. |
| ExecuteAppFunctionRequest |
A request to execute an app function, provided to |
| ExecuteAppFunctionRequest.Builder |
Builder for |
| ExecuteAppFunctionRequest.InterfaceConsts |
Contains the IParcelable constants exposed for ExecuteAppFunctionRequest. |
| ExecuteAppFunctionResponse |
The response to an app function execution, returned by |
| ExecuteAppFunctionResponse.InterfaceConsts |
Contains the IParcelable constants exposed for ExecuteAppFunctionResponse. |
| RegisterAppFunctionRequest |
A request to register an |
Interfaces
| Name | Description |
|---|---|
| IAppFunction |
An interface for implementing the logic of an app function registered at runtime using |
| IAppFunctionObservation |
Result of |
| IAppFunctionObserver |
Interface for observing changes to app functions provided to |
| IAppFunctionRegistration |
Result of |
Enums
| Name | Description |
|---|---|
| AppFunctionEnabledState |
Specifies the enabled-state override for an app function. |
| AppFunctionError |
Identifies errors reported during app-function execution. |
| AppFunctionErrorCategory |
Groups app-function errors by their cause. |
| AppFunctionMetadataAccessLevel |
Specifies which callers can execute an app function. |
| AppFunctionMetadataScope |
Specifies whether an app function is registered for an activity or for the application. |
Remarks
Apps provide functions through AppFunctionService or register IAppFunction implementations with AppFunctionManager. The manager also lets callers search for functions and request their execution.
ExecuteAppFunctionRequest identifies a function and carries its parameters. ExecuteAppFunctionResponse carries the result, while AppFunctionException describes an execution error.