Packagecom.esri.tracking.connector.events
Classpublic class ConnectEvent
InheritanceConnectEvent Inheritance flash.events.Event

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



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] The error message from a failed request.
ConnectEvent
  succeeded : Boolean
[read-only] Indicates whether the request was successful or not.
ConnectEvent
Public Methods
 MethodDefined By
  
ConnectEvent(type:String, succeeded:Boolean, errorMessage:String = null)
The constructor.
ConnectEvent
Public Constants
 ConstantDefined By
  CONNECT_RESPONSE : String = connectResponse
[static] Defines the value of the type property of an connectResponse event.
ConnectEvent
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
ConnectEvent()Constructor
public function ConnectEvent(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
CONNECT_RESPONSEConstant
public static const CONNECT_RESPONSE:String = connectResponse

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