Added in API level Baklava
Builder
class Builder
kotlin.Any | |
↳ | android.app.appfunctions.ExecuteAppFunctionRequest.Builder |
Builder for ExecuteAppFunctionRequest
.
Summary
Public constructors | |
---|---|
Creates a new instance of this builder class. |
Public methods | |
---|---|
ExecuteAppFunctionRequest |
build() Builds the |
ExecuteAppFunctionRequest.Builder |
Sets the additional metadata for this function execution request. |
ExecuteAppFunctionRequest.Builder |
setParameters(parameters: GenericDocument) Sets the function parameters. |
Public constructors
Builder
Added in API level Baklava
Builder(
targetPackageName: String,
functionIdentifier: String)
Creates a new instance of this builder class.
Parameters | |
---|---|
targetPackageName |
String: The package name of the target app providing the app function to invoke. This value cannot be null . |
functionIdentifier |
String: The identifier used by the AppFunctionService from the target app to uniquely identify the function to be invoked. This value cannot be null . |
Public methods
build
Added in API level Baklava
fun build(): ExecuteAppFunctionRequest
Builds the ExecuteAppFunctionRequest
.
Return | |
---|---|
ExecuteAppFunctionRequest |
This value cannot be null . |
setExtras
Added in API level Baklava
fun setExtras(extras: Bundle): ExecuteAppFunctionRequest.Builder
Sets the additional metadata for this function execution request.
Parameters | |
---|---|
extras |
Bundle: This value cannot be null . |
Return | |
---|---|
ExecuteAppFunctionRequest.Builder |
This value cannot be null . |
setParameters
Added in API level Baklava
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 . |
See Also