| Package | com.adobe.rtc.util |
| Class | public class AccountManager |
| Inheritance | AccountManager flash.events.EventDispatcher |
See also
| Property | Defined by | ||
|---|---|---|---|
| accountURL : String
The developer's account URL.
| AccountManager | ||
| authenticator : AbstractAuthenticator
An authenticator (AdobeHSAuthenticator) as used with an IConnectSession.
| AccountManager | ||
| isAuthenticated : Boolean = false
(Read-Only) Specifies whether or not the AccountManager has completed authentication and logging in.
| AccountManager | ||
| isSDKAccount : Boolean = false
(Read-Only) Specifies whether or not the account is an SDK account
| AccountManager | ||
| Method | Defined by | ||
|---|---|---|---|
| AccountManager | |||
|
createRoom(p_roomName:String, p_templateName:String = null):void
Creates a new room on the service under the current account.
| AccountManager | ||
|
deleteRoom(p_roomName:String, p_templateName:String = null):void
Deletes a specified room from the service.
| AccountManager | ||
|
deleteTemplate(p_templateName:String):void
Deletes the specified template.
| AccountManager | ||
|
login():void
Logs into the service.
| AccountManager | ||
|
requestRoomList():void
Requests a list of all rooms under the current account.
| AccountManager | ||
|
requestTemplateList():void
Requests a list of all templates under the current account.
| AccountManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
onError(p_evt:Event):void
| AccountManager | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when a request fails | AccountManager | |||
Dispatched when a call to login to the service has failed. | AccountManager | |||
Dispatched when a call to login to the service has succeeded. | AccountManager | |||
Dispatched when a call to createRoom has returned. | AccountManager | |||
Dispatched when a call to deleteRoom has returned. | AccountManager | |||
Dispatched when a call to requestRoomList has returned. | AccountManager | |||
Dispatched when a call to requestTemplateList has returned. | AccountManager | |||
| accountURL | property |
public var accountURL:StringThe developer's account URL. This is typically the URL of a room with the last branch of the path removed. For example, if roomURL="https://connectnow.acrobat.com/fakeaccount/fakeroom", then accountURL="https://connectnow.acrobat.com/fakeaccount".
| authenticator | property |
public var authenticator:AbstractAuthenticatorAn authenticator (AdobeHSAuthenticator) as used with an IConnectSession.
| isAuthenticated | property |
public var isAuthenticated:Boolean = false(Read-Only) Specifies whether or not the AccountManager has completed authentication and logging in. Login is necessary before any other calls can be executed.
This property can be used as the source for data binding.
| isSDKAccount | property |
public var isSDKAccount:Boolean = false(Read-Only) Specifies whether or not the account is an SDK account
| AccountManager | () | constructor |
public function AccountManager()
| createRoom | () | method |
public function createRoom(p_roomName:String, p_templateName:String = null):voidCreates a new room on the service under the current account.
Parametersp_roomName:String — The name of the new room.
|
|
p_templateName:String (default = null) — The name of the template to use in creating the room. If null, the default template is used.
|
| deleteRoom | () | method |
public function deleteRoom(p_roomName:String, p_templateName:String = null):voidDeletes a specified room from the service.
Parametersp_roomName:String — The name of the room to delete (room name only--not the entire path).
|
|
p_templateName:String (default = null) — Optional. The name of the template from which the room came.
Including the template name causes the ROOM_DELETE
event to include the templateName; ommitting roomName has no effect.
|
| deleteTemplate | () | method |
public function deleteTemplate(p_templateName:String):voidDeletes the specified template. Deleting a template results in all the rooms based on that template begin moved to the default template. However the room's configuration does not change.
Parametersp_templateName:String |
| login | () | method |
public function login():void
Logs into the service. Note that an accountURL and authenticator are required before
this method may be called. Also note that the account manager must be logged in for any subsequent calls to work.
| onError | () | method |
protected function onError(p_evt:Event):voidParameters
p_evt:Event |
| requestRoomList | () | method |
public function requestRoomList():void
Requests a list of all rooms under the current account. An AccountManagerEvent.ROOM_LIST_RECEIVE
event is dispatched with the result.
| requestTemplateList | () | method |
public function requestTemplateList():void
Requests a list of all templates under the current account. An AccountManagerEvent.TEMPLATE_LIST_RECEIVE
event is dispatched with the result.
| accessError | event |
| loginFailure | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to login to the service has failed.
| loginSuccess | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to login to the service has succeeded.
| roomCreate | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to createRoom has returned.
| roomDelete | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to deleteRoom has returned.
| roomListReceive | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to requestRoomList has returned.
| templateListReceive | event |
com.adobe.rtc.events.AccountManagerEvent
Dispatched when a call to requestTemplateList has returned.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/util/AccountManager.html