| Constructor Attributes | Constructor Name and Description |
|---|---|
Room() |
| Field Attributes | Field Name and Description |
|---|---|
|
Reference to a user who is affiliated with the room as an admin.
|
|
|
Reference to a user who is affiliated with the room as an member.
|
|
|
Reference to a user who is not affiliated with the room.
|
|
|
Reference to a user who has been banned from the room.
|
|
|
Reference to a user who is affiliated with the room as the room's owner
|
|
|
The local user's nickName for the room we're managing.
|
|
|
Reference to a Moderator role.
|
|
|
Reference to a none role.
|
|
|
Reference to a particpant role.
|
|
|
Reference to a visitor role.
|
|
|
Unique id of the room we're managing.
|
| Method Attributes | Method Name and Description |
|---|---|
|
approveRegistrationRequest(userId)
Approve a registration request for a user who wants an affiliation as a member with the room.
|
|
|
approveVoiceRequest(userId)
Approving a voice request from a room participant.
|
|
|
ban(userId, reason)
Ban a user from the room.
|
|
|
getAffiliation(nickName)
Retrieve the affiliation of a particular room occupant.
|
|
|
Returns an array of all users with any affiliation of the room.
|
|
|
Get the room subject.
|
|
|
Retrieve the numberic value for the count of occupants on initial load.
|
|
|
Returns the list of members of the room.
|
|
|
Get room message history
|
|
|
Invokes retreiving a list of moderators for this room.
|
|
|
getOccupant(nickName)
Returns a single room occupant
|
|
|
Retrieve an array of RoomOccupants for everyone currently in the room.
|
|
|
Returns the list of members of the room.
|
|
|
getRole(nickName)
Retrieve the role of a particular room occupant.
|
|
|
Get the room subject.
|
|
|
Get the room subject.
|
|
|
grantMembership(userId, defaultNick, reason)
Grant membership to a specific user who has requested access to the room.
|
|
|
grantModerator(nickName)
Set a RoomOccupant as a moderator.
|
|
|
grantVoice(userId)
Grant voice to a visitor
|
|
|
inviteUser(userId, message)
Invite another user to join the room you are currently in.
|
|
|
isActive()
Check to see if we already in the room or if its still joining.
|
|
|
Check if the room is only accessible to non-anonymous users
|
|
|
isOpen()
Check if the room is joinable and has not reached its max capacity
|
|
|
Check if the room is persistent.
|
|
|
isPublic()
Check if the room is a publicly accessible room
|
|
|
Check if the room is only accessible to non-anonymous users
|
|
|
Check if the room is secured (password protected)
|
|
|
join(nickName)
Join the room.
|
|
|
kick(userId, reason)
Kick an occupant from the room.
|
|
|
leave()
Leave the room.
|
|
|
revokeMembership(userId)
Revoke membership from an existing member of the room.
|
|
|
revokeModerator(userId)
Revoke a RoomOccupant as a moderator.
|
|
|
revokeVoice(userId)
Revoke voice from an occupant ( squelching for the whole room ).
|
|
|
send(message)
|
|
|
sendPrivateMessage(nickName, message)
Send a private message to a given occupant.
|
|
|
setBanList(banList)
Update the ban list with an array of updates to bulk update with.
|
|
|
setMemberList(memberList)
Revoke membership from an existing member of the room.
|
|
|
setModeratorList(moderatorList)
A list of userIds to use use for a bulk update of the mdoerator list.
|
|
|
setPresence(show, status, custom)
Sets the users presence information in the room
|
|
|
setSubject(subject)
Set the room subject.
|
|
|
setVoiceList(voiceList)
Retrieve an array of RoomOccupants for everyone currently in the room.
|
|
|
unban(userId)
un-ban a user from the room.
|
| Event Attributes | Event Name and Description |
|---|---|
Approve a registration request for a user who wants an affiliation as a member with the room.
Approving a voice request from a room participant.
Ban a user from the room.
Retrieve the affiliation of a particular room occupant.
Returns an array of all users with any affiliation of the room. This includes users who are not currently online/in the room.
Get the room subject.
Retrieve the numberic value for the count of occupants on initial load.
Returns the list of members of the room.
Get room message history
Invokes retreiving a list of moderators for this room.
Returns a single room occupant
Retrieve an array of RoomOccupants for everyone currently in the room.
Returns the list of members of the room.
Retrieve the role of a particular room occupant.
Get the room subject.
Get the room subject.
Grant membership to a specific user who has requested access to the room.
Set a RoomOccupant as a moderator.
Grant voice to a visitor
Invite another user to join the room you are currently in. Thiis is restricted to user's in your roster and only works if you have instant messaging enabled.
Check to see if we already in the room or if its still joining.
Check if the room is only accessible to non-anonymous users
Check if the room is joinable and has not reached its max capacity
Check if the room is a publicly accessible room
Check if the room is only accessible to non-anonymous users
Check if the room is secured (password protected)
Join the room. This must be called after retrieving the room from the {ConferenceAPI} before the room is available. Duplicate calls to this method will be ignored.
Kick an occupant from the room.
Leave the room. The room object will remain in memory as will all of its bindings. This means you can rejoin the room at anytime if you so decide.
Revoke membership from an existing member of the room.
Revoke a RoomOccupant as a moderator.
Revoke voice from an occupant ( squelching for the whole room ).
Send a private message to a given occupant.
Update the ban list with an array of updates to bulk update with.
Revoke membership from an existing member of the room.
A list of userIds to use use for a bulk update of the mdoerator list.
Sets the users presence information in the room
Set the room subject.
Retrieve an array of RoomOccupants for everyone currently in the room.
un-ban a user from the room.