ExecuteAppFunctionRequest


class ExecuteAppFunctionRequest


Represents a request to execute a specific app function.

Summary

Public constructors

ExecuteAppFunctionRequest(
    targetPackageName: String,
    functionIdentifier: String,
    functionParameters: AppFunctionData
)

Creates a new ExecuteAppFunctionRequest.

@RequiresApi(value = 37)
ExecuteAppFunctionRequest(
    targetPackageName: String,
    functionIdentifier: String,
    functionParameters: AppFunctionData,
    attribution: ERROR CLASS: Symbol not found for AppInteractionAttribution
)

Creates a new ExecuteAppFunctionRequest with attribution.

Public properties

ERROR CLASS: Symbol not found for AppInteractionAttribution??

The attribution that can be used by the privacy setting to provide transparency to the user about why an app function was invoked.

String

The unique string identifier of the app function to be executed.

AppFunctionData

The parameters required to invoke this function.

String

The package name of the app that hosts the function.

Public companion functions

Public constructors

ExecuteAppFunctionRequest

Added in 1.0.0-alpha09
ExecuteAppFunctionRequest(
    targetPackageName: String,
    functionIdentifier: String,
    functionParameters: AppFunctionData
)

Creates a new ExecuteAppFunctionRequest.

Parameters
targetPackageName: String

The package name of the app that hosts the function.

functionIdentifier: String

The unique string identifier of the app function to be executed.

functionParameters: AppFunctionData

The parameters required to invoke this function. Within this AppFunctionData, the property names are the names of the function parameters and the property values are the values of those parameters. The data object may have missing parameters. Developers are advised to implement defensive handling measures.

ExecuteAppFunctionRequest

@RequiresApi(value = 37)
ExecuteAppFunctionRequest(
    targetPackageName: String,
    functionIdentifier: String,
    functionParameters: AppFunctionData,
    attribution: ERROR CLASS: Symbol not found for AppInteractionAttribution
)

Creates a new ExecuteAppFunctionRequest with attribution.

Parameters
targetPackageName: String

The package name of the app that hosts the function.

functionIdentifier: String

The unique string identifier of the app function to be executed.

functionParameters: AppFunctionData

The parameters required to invoke this function. Within this AppFunctionData, the property names are the names of the function parameters and the property values are the values of those parameters. The data object may have missing parameters. Developers are advised to implement defensive handling measures.

attribution: ERROR CLASS: Symbol not found for AppInteractionAttribution

The attribution that can be used by the privacy setting to provide transparency to the user about why an app function was invoked.

Public properties

attribution

Added in 1.0.0-alpha09
val attribution: ERROR CLASS: Symbol not found for AppInteractionAttribution??

The attribution that can be used by the privacy setting to provide transparency to the user about why an app function was invoked.

functionIdentifier

Added in 1.0.0-alpha09
val functionIdentifierString

The unique string identifier of the app function to be executed.

functionParameters

Added in 1.0.0-alpha09
val functionParametersAppFunctionData

The parameters required to invoke this function. Within this AppFunctionData, the property names are the names of the function parameters and the property values are the values of those parameters. The data object may have missing parameters. Developers are advised to implement defensive handling measures.

targetPackageName

Added in 1.0.0-alpha09
val targetPackageNameString

The package name of the app that hosts the function.