Packagecom.mi.rs
Classpublic class RSServiceEvent
InheritanceRSServiceEvent Inheritance flash.events.Event

Event dispatched by RSService.



Public Properties
 PropertyDefined By
  service : IService
[read-only]
RSServiceEvent
Public Methods
 MethodDefined By
  
RSServiceEvent(type:String, service:IService)
RSServiceEvent
Public Constants
 ConstantDefined By
  CONNECTOR_CHANGED_EVENT : String = connector_changed
[static] RSServiceEvent that is dispatched when the connector used to communicate with RealityServer is changed.
RSServiceEvent
  RTMP_CONNECTION_ERROR_EVENT : String = rtmp_disabled
[static] Dispatched if an attempt is made to enable RTMP but the connection to the server failed, or if RTMP support is active but the connection breaks.
RSServiceEvent
Property Detail
serviceproperty
service:IService  [read-only]


Implementation
    public function get service():IService
Constructor Detail
RSServiceEvent()Constructor
public function RSServiceEvent(type:String, service:IService)



Parameters
type:String
 
service:IService
Constant Detail
CONNECTOR_CHANGED_EVENTConstant
public static const CONNECTOR_CHANGED_EVENT:String = connector_changed

RSServiceEvent that is dispatched when the connector used to communicate with RealityServer is changed.

RTMP_CONNECTION_ERROR_EVENTConstant 
public static const RTMP_CONNECTION_ERROR_EVENT:String = rtmp_disabled

Dispatched if an attempt is made to enable RTMP but the connection to the server failed, or if RTMP support is active but the connection breaks. If RTMP was active the service will fall back on HTTP requests which will trigger an additional CONNECTOR_CHANGED_EVENT.