Class PresencePayload
java.lang.Object
application.presenter.event.model.roomevent.payload.PresencePayload
- All Implemented Interfaces:
RoomEventPayload
Presence payload for
RoomEvent
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
State if the presence is detected or not.
-
Field Details
-
PRESENCE_EVENT_KEY
Presence event key.- See Also:
-
-
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.
-