ExecuteAppFunctionRequest
class ExecuteAppFunctionRequest : Parcelable
kotlin.Any | |
↳ | android.app.appfunctions.ExecuteAppFunctionRequest |
A request to execute an app function.
Summary
Nested classes | |
---|---|
Builder for |
Inherited constants | |
---|---|
Public methods | |
---|---|
Int | |
Bundle |
Returns the additional data relevant to this function execution. |
String |
Returns the unique string identifier of the app function to be executed. |
GenericDocument |
Returns the function parameters. |
String |
Returns the package name of the app that hosts the function. |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<ExecuteAppFunctionRequest!> |
Public methods
describeContents
fun describeContents(): Int
Return | |
---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
getExtras
fun getExtras(): Bundle
Returns the additional data relevant to this function execution.
Return | |
---|---|
Bundle |
This value cannot be null . |
getFunctionIdentifier
fun getFunctionIdentifier(): String
Returns the unique string identifier of the app function to be executed.
Return | |
---|---|
String |
This value cannot be null . |
getParameters
fun getParameters(): GenericDocument
Returns the function parameters. The key is the parameter name, and the value is the parameter value.
The bundle may have missing parameters. Developers are advised to implement defensive handling measures.
Return | |
---|---|
GenericDocument |
This value cannot be null . |
getTargetPackageName
fun getTargetPackageName(): String
Returns the package name of the app that hosts the function.
Return | |
---|---|
String |
This value cannot be null . |
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
Parameters | |
---|---|
dest |
Parcel: This value cannot be null . |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE . Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
CREATOR
static val CREATOR: Parcelable.Creator<ExecuteAppFunctionRequest!>