Constructor
The fully qualified roomID for this snapshot.
The room's password, if required.
Indicates the amount of information that should be included
Returns the value of the specified room attribute.
The attribute's name.
The attribute value.
Returns an object whose variables represent the names and values of the shared attributes for this snapshot's room. For details and examples, see the Room class's getAttributes() method, which returns an object of the same format.
Returns the number of observers in the room represented by this snapshot.
Returns the number of occupants in the room represented by this snapshot.
Returns a ClientManifest object representing the room observer specified by clientID.
Returns a list of the clients observing the room represented by this snapshot. Each item in the list is a string clientID.
Returns a ClientManifest object representing the room occupant specified by clientID.
Returns a list of the clients in the room represented by this snapshot. Each item in the list is a string clientID.
Returns the fully qualified roomID for this room snapshot object.
A string roomID.
Returns the status of the most recent snapshot load-operation. If a load operation is currently in progress, getStatus() returns null. The possible return values of getStatus() depend on the snapshot type.
Indicates whether the snapshot is currently loading data. While an update is in progress, further requests to update the snapshot are ignored.
The RoomSnapshot class is used to load a "snapshot" of a room on the server. The snapshot includes all of the room's attributes, plus a list of the clients in the room and a list of the clients observing room.
The RoomSnapshot object is not kept up to date after it is loaded. To update a RoomSnapshot object to match latest the state of the server, pass that object to Orbiter.updateSnapshot method.