Packagecom.esri.tracking.connector.events
Classpublic class DisconnectEvent
InheritanceDisconnectEvent Inheritance flash.events.Event

Represents event objects dispatched when a response to an disconnect request is received.



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The error message from a failed request.
DisconnectEvent
  succeeded : Boolean
[read-only] Indicates whether the request was successful or not.
DisconnectEvent
Public Methods
 MethodDefined By
  
DisconnectEvent(type:String, succeeded:Boolean, errorMessage:String = null)
The constructor.
DisconnectEvent
Public Constants
 ConstantDefined By
  DISCONNECT_RESPONSE : String = disconnectResponse
[static] Defines the value of the type property of an disconnectResponse event.
DisconnectEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

The error message from a failed request.


Implementation
    public function get errorMessage():String
succeededproperty 
succeeded:Boolean  [read-only]

Indicates whether the request was successful or not.


Implementation
    public function get succeeded():Boolean
Constructor Detail
DisconnectEvent()Constructor
public function DisconnectEvent(type:String, succeeded:Boolean, errorMessage:String = null)

The constructor.

Parameters
type:String — The type of event.
 
succeeded:Boolean — Indicates success or failure.
 
errorMessage:String (default = null) — Error message from a failed request.
Constant Detail
DISCONNECT_RESPONSEConstant
public static const DISCONNECT_RESPONSE:String = disconnectResponse

Defines the value of the type property of an disconnectResponse event.