Package com.flashphoner.fpwcsapi.room
Class RoomManager
java.lang.Object
com.flashphoner.fpwcsapi.room.RoomManager
Manager of Rooms
-
Constructor Summary
ConstructorDescriptionRoomManager
(RoomManagerOptions options) New RoomManager It creates a new session and listens the session events -
Method Summary
Modifier and TypeMethodDescriptionvoid
Remove all rooms and disconnect sessionjoin
(RoomOptions options) Join the room based on passed room optionsvoid
on
(RoomManagerEvent roomManagerEvent) Handle RoomManagerEvent
-
Constructor Details
-
RoomManager
New RoomManager It creates a new session and listens the session events- Parameters:
options
-
-
-
Method Details
-
join
Join the room based on passed room options- Parameters:
options
-- Returns:
-
disconnect
public void disconnect()Remove all rooms and disconnect session -
on
Handle RoomManagerEvent- Parameters:
roomManagerEvent
-
-
getUsername
-