Class RoomManager

java.lang.Object
com.flashphoner.fpwcsapi.room.RoomManager

public class RoomManager extends Object
Manager of Rooms
  • Constructor Details

    • RoomManager

      public RoomManager(RoomManagerOptions options)
      New RoomManager It creates a new session and listens the session events
      Parameters:
      options -
  • Method Details

    • join

      public Room join(RoomOptions options)
      Join the room based on passed room options
      Parameters:
      options -
      Returns:
    • disconnect

      public void disconnect()
      Remove all rooms and disconnect session
    • on

      public void on(RoomManagerEvent roomManagerEvent)
      Handle RoomManagerEvent
      Parameters:
      roomManagerEvent -
    • getUsername

      public String getUsername()