Bridge that enables bidirectional communication between LCCS Components and JavaScript interface using the ExternalInterface
Example
_cSession = new ConnectSession();
var auth:AdobeHSAuthenticator = new AdobeHSAuthenticator();
auth.requireRTMFP = false;
auth.protocol = "RTMPS";
auth.userName = "uName[at]adobe.com";
auth.password = "passwd";
_cSession.roomURL = "http://connectnow.acrobat.com/uname/roomName";
_cSession.authenticator = auth;
if(!_jsBridge) {
_jsBridge = new com.adobe.rtc.util.JSBridge();
}
_cSession.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE, onSync);
_cSession.login();
connectSession:IConnectSession [read-write]
The IConnectSession with which this component is associated. Note that this may only be set once before subscribe
is called; re-sessioning of components is not supported. Defaults to the first IConnectSession created in the application.
Implementation
public function get connectSession():IConnectSession
public function set connectSession(value:IConnectSession):void
protected var _didSubscribe:Boolean = false
protected var _invalidator:Invalidator
isSynchronized:Boolean [read-only]
A variable that indicates whether or not the ConnectSession is fully synchronized with the service.
Implementation
public function get isSynchronized():Boolean
public function JSBridge(target:IEventDispatcher = null)Parameters
| target:IEventDispatcher (default = null) |
2008-2010 Adobe Systems Incorporated. All rights reserved.
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/util/JSBridge.html