| Package | com.adobe.rtc.collaboration |
| Class | public class BinarySubscriber |
| Inheritance | BinarySubscriber FileSubscriber mx.core.UIComponent |
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | accessModel : int
The role value required for accessing files associated with this component's group as
specified by
groupName. | FileSubscriber | |
![]() | connectSession : IConnectSession
The IConnectSession with which this component is associated; it defaults to the first
IConnectSession created in the application.
| FileSubscriber | |
| fileData : ByteArray [read-only]
The file data of the downloaded file: it is null until a
complete event fires. | BinarySubscriber | ||
![]() | groupName : String
Components (pods) are assigned to a group via
groupName; if not specified,
the component is assigned to the default, public group (the room at large). | FileSubscriber | |
![]() | isSynchronized : Boolean
Returns true if the model is synchronized.
| FileSubscriber | |
![]() | publishModel : int
The role required for this component to publish to the group specified by
groupName. | FileSubscriber | |
![]() | sharedID : String
Defines the logical location of the component on the service; typically this assigns the
sharedID of the collectionNode
used by the component. | FileSubscriber | |
| Method | Defined by | ||
|---|---|---|---|
| BinarySubscriber | |||
![]() |
close():void
Disposes all listeners to the network and framework classes and
is recommended for proper garbage collection of the component.
| FileSubscriber | |
|
download(p_fileDescriptor:FileDescriptor):void
Downloads the file specified by the supplied FileDescriptor.
| BinarySubscriber | ||
![]() |
Gets the NodeConfiguration on a specific file group.
| FileSubscriber | |
![]() |
getUserRole(p_userID:String):int
Returns the role of a given user for files, within the group this component is assigned to.
| FileSubscriber | |
![]() |
setNodeConfiguration(p_nodeConfiguration:NodeConfiguration):void
Sets the NodeConfiguration.
| FileSubscriber | |
![]() |
setUserRole(p_userID:String, p_userRole:int):void
Sets the role of a given user for subscribing to files within this component's group
specified by
groupName. | FileSubscriber | |
![]() |
subscribe():void
Subscribes to a particular stream.
| FileSubscriber | |
| fileData | property |
fileData:ByteArray [read-only]
The file data of the downloaded file: it is null until a complete event fires.
This property can be used as the source for data binding.
Implementation public function get fileData():ByteArray
| BinarySubscriber | () | constructor |
public function BinarySubscriber()
| download | () | method |
public override function download(p_fileDescriptor:FileDescriptor):void
Downloads the file specified by the supplied FileDescriptor. The file in question will populate the
fileData upon completion.
p_fileDescriptor:FileDescriptor — A FileDescriptor representing the file to download. For details about
accessing a list of files available in the room, see the FileManager's APIs.
|
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/collaboration/BinarySubscriber.html