Package | com.mi.rs |
Class | public class RSServiceEvent |
Inheritance | RSServiceEvent ![]() |
Method | Defined By | ||
---|---|---|---|
RSServiceEvent(type:String, service:IService)
|
RSServiceEvent |
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 |
service | property |
RSServiceEvent | () | Constructor |
public function RSServiceEvent(type:String, service:IService)
type:String |
|
service:IService |
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.