Package com.mi.rs
Class public class RSServiceEvent
Inheritance RSServiceEvent Inheritance flash.events.Event

Event dispatched by RSService.



Public Properties
  Property Defined By
    service : IService
[read-only]
RSServiceEvent
Public Methods
  Method Defined By
   
RSServiceEvent(type:String, service:IService)
RSServiceEvent
Public Constants
  Constant Defined 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
service property
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_EVENT Constant
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_EVENT Constant  
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.