ExecuteAppFunctionResponse.Success
public final class ExecuteAppFunctionResponse.Success implements ExecuteAppFunctionResponse
Represents a successful execution of an app function.
Summary
Constants |
|
|---|---|
static final @NonNull String |
The key name of the property that stores the function return value within |
Public constructors |
|---|
Success(@NonNull AppFunctionData returnValue) |
Public methods |
|
|---|---|
final @NonNull AppFunctionData |
The return value of the executed function. |
Constants
PROPERTY_RETURN_VALUE
public static final @NonNull String PROPERTY_RETURN_VALUE
The key name of the property that stores the function return value within result.
See AppFunctionData documentation on retrieving expected fields.
Public constructors
Public methods
getReturnValue
Added in 1.0.0-alpha07
public final @NonNull AppFunctionData getReturnValue()
The return value of the executed function. An AppFunctionData.EMPTY indicates that the function does not produce a return value.