Packageorg.igniterealtime.xiff.conference
Classpublic class RoomOccupant
InheritanceRoomOccupant Inheritance flash.events.EventDispatcher
Implements IRoomOccupant

A person in a room

See also

http://xmpp.org/extensions/xep-0045.html#user


Public Properties
 PropertyDefined By
  affiliation : String
RoomOccupant
  jid : UnescapedJID
RoomOccupant
  nickname : String
Used to be 'displayName' before XML migration
RoomOccupant
  online : Boolean
RoomOccupants can't exist unless they're online
RoomOccupant
  role : String
RoomOccupant
  room : IRoom
RoomOccupant
  rosterItem : IRosterItemVO
[read-only] If there isn't a roster item associated with this room occupant (for example, if the room is anonymous), this will return null
RoomOccupant
  show : String
RoomOccupant
  uid : String
RoomOccupant
Public Methods
 MethodDefined By
  
RoomOccupant(nickname:String, show:String, affiliation:String, role:String, jid:UnescapedJID, room:IRoom)
RoomOccupant
Property Detail
affiliationproperty
affiliation:String


Implementation
    public function get affiliation():String
    public function set affiliation(value:String):void
jidproperty 
jid:UnescapedJID


Implementation
    public function get jid():UnescapedJID
    public function set jid(value:UnescapedJID):void
nicknameproperty 
nickname:String

Used to be 'displayName' before XML migration


Implementation
    public function get nickname():String
    public function set nickname(value:String):void
onlineproperty 
online:Boolean

RoomOccupants can't exist unless they're online


Implementation
    public function get online():Boolean
    public function set online(value:Boolean):void
roleproperty 
role:String


Implementation
    public function get role():String
    public function set role(value:String):void
roomproperty 
room:IRoom


Implementation
    public function get room():IRoom
    public function set room(value:IRoom):void
rosterItemproperty 
rosterItem:IRosterItemVO  [read-only]

If there isn't a roster item associated with this room occupant (for example, if the room is anonymous), this will return null


Implementation
    public function get rosterItem():IRosterItemVO
showproperty 
show:String


Implementation
    public function get show():String
    public function set show(value:String):void
uidproperty 
uid:String


Implementation
    public function get uid():String
    public function set uid(value:String):void
Constructor Detail
RoomOccupant()Constructor
public function RoomOccupant(nickname:String, show:String, affiliation:String, role:String, jid:UnescapedJID, room:IRoom)

Parameters
nickname:String
 
show:String
 
affiliation:String
 
role:String
 
jid:UnescapedJID
 
room:IRoom