Interface RoomEvent


public interface RoomEvent
RoomEvent callback
  • Method Details

    • onState

      void onState(Room room)
      Changed room state
      Parameters:
      room -
    • onJoined

      void onJoined(Participant participant)
      Joined a new participant
      Parameters:
      participant -
    • onLeft

      void onLeft(Participant participant)
      Participant left the room
      Parameters:
      participant -
    • onPublished

      void onPublished(Participant participant)
      Participant published a stream
      Parameters:
      participant -
    • onFailed

      void onFailed(Room room, String info)
      Error in the room
      Parameters:
      room -
      info -
    • onMessage

      void onMessage(Message message)
      Message received
      Parameters:
      message -