java.lang.Object
application.presenter.event.model.roomevent.payload.PresencePayload
All Implemented Interfaces:
RoomEventPayload

public class PresencePayload extends Object implements RoomEventPayload
Presence payload for RoomEvent.
  • Field Details

  • Constructor Details

    • PresencePayload

      public PresencePayload(boolean presenceDetected)
      Default constructor.
      Parameters:
      presenceDetected - the presence payload.
  • Method Details

    • isPresenceDetected

      public boolean isPresenceDetected()
      State if the presence is detected or not.
      Returns:
      true if the presence is detected, false otherwise.