ExecuteAppFunctionResponse
class ExecuteAppFunctionResponse : Parcelable
kotlin.Any | |
↳ | android.app.appsearch.functions.ExecuteAppFunctionResponse |
Represents a response of an execution of an app function.
Summary
Nested classes | |
---|---|
The builder for creating |
Constants | |
---|---|
static String |
The name of the property that stores the result within the result |
Inherited constants | |
---|---|
Public methods | |
---|---|
Bundle |
Returns the additional metadata data relevant to this function execution response. |
GenericDocument |
Returns the return value of the executed function. |
Unit |
writeToParcel(dest: Parcel, flags: Int) Flatten this object in to a Parcel. |
Properties | |
---|---|
static Parcelable.Creator<ExecuteAppFunctionResponse!> |
Constants
PROPERTY_RESULT
static val PROPERTY_RESULT: String
The name of the property that stores the result within the result GenericDocument
.
Value: "result"
See Also
Public methods
getExtras
fun getExtras(): Bundle
Returns the additional metadata data relevant to this function execution response.
Return | |
---|---|
Bundle |
This value cannot be null . |
getResult
fun getResult(): GenericDocument
Returns the return value of the executed function. An empty document indicates that the function does not produce a return value.
Return | |
---|---|
GenericDocument |
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<ExecuteAppFunctionResponse!>