Unity uClientCore > RoomManagerEvent

RoomManagerEvent Class

Extends

org.moock.event.EventObject

Constructor

RoomManagerEvent(src, namespaceID, roomID, status)

Arguments

src
A reference to the object that generated the event (normally an instance of RoomManager).
namespaceID
The id of the namespace to which the event pertains.
roomID
The id of the room to which the event pertains.
status
The status of the operation to which the event pertains.

Methods

getNamespaceID() Returns the namespace id of the namespace added or removed, or for which server-side creation or deletion results are being returned.
getRoomID() Returns the roomID of the room for which server-side creation or deletion results are being returned.
getStatus() Returns the status of the operation to which this event pertains. (One of: room creation, room deletion, namespace creation, namespace deletion, or namespace observation.)

Description

Contains information about a specific RoomManagerListener event, such as onAddRoom() or onCreateNamespaceResults(). Passed to all RoomManagerListener objects that have registered to receive events via RoomManager.addRoomManageristener().

Documentation Version

1.0.1