ExecuteAppFunctionResponse
public
final
class
ExecuteAppFunctionResponse
extends Object
implements
Parcelable
java.lang.Object | |
↳ | android.app.appsearch.functions.ExecuteAppFunctionResponse |
Represents a response of an execution of an app function.
Summary
Nested classes | |
---|---|
class |
ExecuteAppFunctionResponse.Builder
The builder for creating |
Constants | |
---|---|
String |
PROPERTY_RESULT
The name of the property that stores the result within the result |
Inherited constants |
---|
Fields | |
---|---|
public
static
final
Creator<ExecuteAppFunctionResponse> |
CREATOR
|
Public methods | |
---|---|
Bundle
|
getExtras()
Returns the additional metadata data relevant to this function execution response. |
GenericDocument
|
getResult()
Returns the return value of the executed function. |
void
|
writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel. |
Inherited methods | |
---|---|
Constants
PROPERTY_RESULT
public static final String PROPERTY_RESULT
The name of the property that stores the result within the result GenericDocument
.
See also:
Constant Value: "result"
Fields
Public methods
getExtras
public Bundle getExtras ()
Returns the additional metadata data relevant to this function execution response.
Returns | |
---|---|
Bundle |
This value cannot be null . |
getResult
public GenericDocument getResult ()
Returns the return value of the executed function. An empty document indicates that the function does not produce a return value.
Returns | |
---|---|
GenericDocument |
This value cannot be null . |
writeToParcel
public void writeToParcel (Parcel dest, int flags)
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.PARCELABLE_WRITE_RETURN_VALUE .
Value is either 0 or a combination of Parcelable.PARCELABLE_WRITE_RETURN_VALUE , and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-11-20 UTC.