Builder


class Builder
kotlin.Any
   ↳ android.app.appfunctions.ExecuteAppFunctionRequest.Builder

Builder for ExecuteAppFunctionRequest.

Summary

Public constructors
Builder(targetPackageName: String, functionIdentifier: String)

Public methods
ExecuteAppFunctionRequest

Builds the ExecuteAppFunctionRequest.

ExecuteAppFunctionRequest.Builder
setExtras(extras: Bundle)

Sets the additional data relevant to this function execution.

ExecuteAppFunctionRequest.Builder

Sets the function parameters.

Public constructors

Builder

Builder(
    targetPackageName: String,
    functionIdentifier: String)
Parameters
targetPackageName String: This value cannot be null.
functionIdentifier String: This value cannot be null.

Public methods

build

fun build(): ExecuteAppFunctionRequest

Builds the ExecuteAppFunctionRequest.

Return
ExecuteAppFunctionRequest This value cannot be null.

setExtras

fun setExtras(extras: Bundle): ExecuteAppFunctionRequest.Builder

Sets the additional data relevant to this function execution.

Parameters
extras Bundle: This value cannot be null.
Return
ExecuteAppFunctionRequest.Builder This value cannot be null.

setParameters

fun setParameters(parameters: GenericDocument): ExecuteAppFunctionRequest.Builder

Sets the function parameters.

Parameters
parameters GenericDocument: This value cannot be null.
Return
ExecuteAppFunctionRequest.Builder This value cannot be null.