| Package | com.adobe.csxs.types |
| Class | public class AsyncRequestResult |
AsyncRequestEvent.
that contains an object of this type. It includes the result status,
which reports whether the request completed successfully or failed in a particular way,
and a token that distinguishes requests that are made at the same time.
| Property | Defined by | ||
|---|---|---|---|
| status : String
Retrieves the result status of the request.
| AsyncRequestResult | ||
| token : String
Retrieves the identifying token associated with the request.
| AsyncRequestResult | ||
| Method | Defined by | ||
|---|---|---|---|
|
AsyncRequestResult(status:String = "PlugPlugRequestFailed", token:String)
Creates an asynchronous request result object.
| AsyncRequestResult | ||
|
toString():String
Creates a string that contains all the properties of this object.
| AsyncRequestResult | ||
| Constant | Defined by | ||
|---|---|---|---|
| DENIED : String = "PlugPlugRequestDenied" [static] Asynchronous call result constant, passed in
status. | AsyncRequestResult | ||
| EXTERNALINTERFACE_NOT_AVAILABLE : String = "ExternalInterfaceNotAvailable" [static] Asynchronous call error result constant, passed in
status. | AsyncRequestResult | ||
| FAILED : String = "PlugPlugRequestFailed" [static] Asynchronous call result constant, passed in
status. | AsyncRequestResult | ||
| INVALID_INPUT_PARAMS : String = "InvalidInputParams" [static] Asynchronous call error result constant, passed in
status. | AsyncRequestResult | ||
| INVALID_RETURN_PARAMS : String = "InvalidReturnParams" [static] Asynchronous call error result constant, passed in
status. | AsyncRequestResult | ||
| INVALID_TOKEN : String = "invalid" [static] Asynchronous call error result constant, passed in
status. | AsyncRequestResult | ||
| POSTED : String = "PlugPlugRequestPosted" [static] Asynchronous call result constant, passed in
status. | AsyncRequestResult | ||
| status | property |
status:String [read-write]Retrieves the result status of the request.
Implementation public function get status():String
public function set status(value:String):void
| token | property |
token:String [read-write]Retrieves the identifying token associated with the request. This is a unique identifying string passed to the original request that distinguishes this request from others made at the same time.
Implementation public function get token():String
public function set token(value:String):void
| AsyncRequestResult | () | constructor |
public function AsyncRequestResult(status:String = "PlugPlugRequestFailed", token:String)Creates an asynchronous request result object.
Parametersstatus:String (default = "PlugPlugRequestFailed") — The result status constant.
|
|
token:String — A unique identifying string passed to the original request that distinguishes
this request from others made at the same time.
|
| toString | () | method |
public function toString():StringCreates a string that contains all the properties of this object.
ReturnsString — The properties string.
|
| DENIED | constant |
public static const DENIED:String = "PlugPlugRequestDenied" Asynchronous call result constant, passed in status.
| EXTERNALINTERFACE_NOT_AVAILABLE | constant |
public static const EXTERNALINTERFACE_NOT_AVAILABLE:String = "ExternalInterfaceNotAvailable" Asynchronous call error result constant, passed in status.
| FAILED | constant |
public static const FAILED:String = "PlugPlugRequestFailed" Asynchronous call result constant, passed in status.
| INVALID_INPUT_PARAMS | constant |
public static const INVALID_INPUT_PARAMS:String = "InvalidInputParams" Asynchronous call error result constant, passed in status.
| INVALID_RETURN_PARAMS | constant |
public static const INVALID_RETURN_PARAMS:String = "InvalidReturnParams" Asynchronous call error result constant, passed in status.
| INVALID_TOKEN | constant |
public static const INVALID_TOKEN:String = "invalid" Asynchronous call error result constant, passed in status.
| POSTED | constant |
public static const POSTED:String = "PlugPlugRequestPosted" Asynchronous call result constant, passed in status.