Packagecom.adobe.rtc.sharedManagers.descriptors
Classpublic class UserDescriptor
ImplementsIValueObjectEncodable

A UserDescriptor is an object used to represent the details of a given user or entity in a room. It is returned by the UserManager's getUserDescriptor() . This this object is used for accessing relevent details about users within a roster list and so on.

See also

com.adobe.rtc.sharedManagers.UserManager


Public Properties
 PropertyDefined by
  affiliation : int = -1
The permanent, database-authenticated user role at the root level.
UserDescriptor
  connection : String = "dsl"
The user's connection speed as set in RoomSettings; for example, modem, dsl, or lan.
UserDescriptor
  displayName : String
The user name displayed in the roster.
UserDescriptor
  drops : Number
The rate of packets dropped by the service on a scale of 100.
UserDescriptor
  latency : Number
The amount of latency in milliseconds between the user and the server.
UserDescriptor
  playerVersion : String
The version of the flash player this user has
UserDescriptor
  role : int = -1
The current user role for the user at the root level.
UserDescriptor
  usericonURL : String
The URL of the user's avatar.
UserDescriptor
  userID : String
Unique ID for identifying the user within the room.
UserDescriptor
Public Methods
 MethodDefined by
  
UserDescriptor
  
Returns a new copy of a UserDescriptor.
UserDescriptor
  
Creates a value object from the userDescriptor which is suitable for storage as a simple object.
UserDescriptor
  
readValueObject(p_valueObject:Object):void
Fills a userDescriptor based on a given value object.
UserDescriptor
Property detail
affiliationproperty
public var affiliation:int = -1

The permanent, database-authenticated user role at the root level.

connectionproperty 
public var connection:String = "dsl"

The user's connection speed as set in RoomSettings; for example, modem, dsl, or lan.

See also

displayNameproperty 
public var displayName:String

The user name displayed in the roster.

dropsproperty 
public var drops:Number

The rate of packets dropped by the service on a scale of 100.

latencyproperty 
public var latency:Number

The amount of latency in milliseconds between the user and the server.

playerVersionproperty 
public var playerVersion:String

The version of the flash player this user has

roleproperty 
public var role:int = -1

The current user role for the user at the root level.

usericonURLproperty 
public var usericonURL:String

The URL of the user's avatar.

userIDproperty 
public var userID:String

Unique ID for identifying the user within the room.

Constructor detail
UserDescriptor()constructor
public function UserDescriptor()
Method detail
clone()method
public function clone():UserDescriptor

Returns a new copy of a UserDescriptor.

Returns
UserDescriptor
createValueObject()method 
public function createValueObject():Object

Creates a value object from the userDescriptor which is suitable for storage as a simple object.

Returns
Object
readValueObject()method 
public function readValueObject(p_valueObject:Object):void

Fills a userDescriptor based on a given value object.

Parameters
p_valueObject:Object




 

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/sharedManagers/descriptors/UserDescriptor.html