| Package | com.adobe.csxs.events |
| Class | public class AsyncRequestEvent |
| Inheritance | AsyncRequestEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : *
The data associated with the event; for example, the authentication token
returned by an authentication request.
| AsyncRequestEvent | ||
| token : String
Retrieves the request token that identifies the specific request for
which this event was dispatched.
| AsyncRequestEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
AsyncRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates the event object.
| AsyncRequestEvent | ||
|
clone():Event
Creates a copy of this object and sets the value of each property to match that of the original.
| AsyncRequestEvent | ||
|
toString():String
Creates a string that contains all the properties of this object, in this format:
| AsyncRequestEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| REQUEST_COMPLETE : String = "requestComplete" [static] The event type constant for a successfully completed request.
| AsyncRequestEvent | ||
| REQUEST_FAILED : String = "requestFailed" [static] The event type constant for a failed request.
| AsyncRequestEvent | ||
| data | property |
data:* [read-write]The data associated with the event; for example, the authentication token returned by an authentication request.
Implementation public function get data():*
public function set data(value:*):void
| token | property |
token:String [read-write]Retrieves the request token that identifies the specific request for which this event was dispatched.
Implementation public function get token():String
public function set token(value:String):void
| AsyncRequestEvent | () | constructor |
public function AsyncRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Creates the event object.
Parameterstype:String — The request completion status, "requestComplete" or "requestFailed".
|
|
bubbles:Boolean (default = false) — True to allow propagation of this event.
|
|
cancelable:Boolean (default = false) — True if the behavior associated with the event can be prevented.
|
| clone | () | method |
public override function clone():EventCreates a copy of this object and sets the value of each property to match that of the original.
ReturnsEvent — The new object.
|
| toString | () | method |
public override function toString():StringCreates a string that contains all the properties of this object, in this format:
[AsyncRequestEvent type=value bubbles=value cancelable=value ... delta=value]
String — The properties string.
|
| REQUEST_COMPLETE | constant |
public static const REQUEST_COMPLETE:String = "requestComplete"The event type constant for a successfully completed request.
| REQUEST_FAILED | constant |
public static const REQUEST_FAILED:String = "requestFailed"The event type constant for a failed request.