-
public final class ViewEvent.ViewEventSessionSession properties Session properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.ViewEventSession.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final ViewEvent.ViewEventSessionTypetypeprivate final BooleanhasReplayprivate final ViewEvent.StartReasonstartReasonprivate final BooleanisActive
-
Constructor Summary
Constructors Constructor Description ViewEvent.ViewEventSession(String id, ViewEvent.ViewEventSessionType type, Boolean hasReplay, ViewEvent.StartReason startReason, Boolean isActive)
-
Method Summary
Modifier and Type Method Description final StringgetId()final ViewEvent.ViewEventSessionTypegetType()final BooleangetHasReplay()final ViewEvent.StartReasongetStartReason()final BooleangetIsActive()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.ViewEventSession
ViewEvent.ViewEventSession(String id, ViewEvent.ViewEventSessionType type, Boolean hasReplay, ViewEvent.StartReason startReason, Boolean isActive)
- Parameters:
id- UUID of the sessiontype- Type of the sessionhasReplay- Whether this session has a replaystartReason- The precondition that led to the creation of the sessionisActive- Whether this session is currently active.
-
-
Method Detail
-
getType
final ViewEvent.ViewEventSessionType getType()
-
getHasReplay
final Boolean getHasReplay()
-
getStartReason
final ViewEvent.StartReason getStartReason()
-
getIsActive
final Boolean getIsActive()
-
toJson
final JsonElement toJson()
-
-
-
-