ExecuteAppFunctionRequest


public final class ExecuteAppFunctionRequest


Represents a request to execute a specific app function.

Summary

Public constructors

ExecuteAppFunctionRequest(
    @NonNull String targetPackageName,
    @NonNull String functionIdentifier,
    @NonNull AppFunctionData functionParameters
)

Public methods

final @NonNull String

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

final @NonNull AppFunctionData

The parameters required to invoke this function.

final @NonNull String

The package name of the app that hosts the function.

@NonNull String

Public constructors

ExecuteAppFunctionRequest

Added in 1.0.0-alpha01
public ExecuteAppFunctionRequest(
    @NonNull String targetPackageName,
    @NonNull String functionIdentifier,
    @NonNull AppFunctionData functionParameters
)

Public methods

getFunctionIdentifier

Added in 1.0.0-alpha01
public final @NonNull String getFunctionIdentifier()

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

getFunctionParameters

Added in 1.0.0-alpha01
public final @NonNull AppFunctionData getFunctionParameters()

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.

getTargetPackageName

Added in 1.0.0-alpha01
public final @NonNull String getTargetPackageName()

The package name of the app that hosts the function.

toString

public @NonNull String toString()