Support

RoomStatusEvent

Summary
Constructor Attributes Constructor Name and Description
 
Event that occurs when another user joins or leaves the room.
Field Summary
Field Attributes Field Name and Description
 
The sub-type of the instance of this event to show you if they joined or left.
 
Event sub-type for successfully joining the room.
 
Event sub-type for successfully leaving the room.
 
The userId of the user who triggered the instance of the event.
Fields borrowed from class RoomEvent:
roomId
Detail
RoomStatusEvent()
Event that occurs when another user joins or leaves the room. The event is sub-typed on the "name" property using the available statics of USER_LEAVE and USER_JOIN.
Field Detail
{String} name
The sub-type of the instance of this event to show you if they joined or left.

ROOM_JOIN
Event sub-type for successfully joining the room.

ROOM_LEAVE
Event sub-type for successfully leaving the room.

{String} userId
The userId of the user who triggered the instance of the event.@property {String} name