-
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 BooleanisActiveprivate final BooleansampledForReplay
-
Constructor Summary
Constructors Constructor Description ViewEvent.ViewEventSession(String id, ViewEvent.ViewEventSessionType type, Boolean hasReplay, Boolean isActive, Boolean sampledForReplay)
-
Method Summary
Modifier and Type Method Description final StringgetId()final ViewEvent.ViewEventSessionTypegetType()final BooleangetHasReplay()final BooleangetIsActive()final BooleangetSampledForReplay()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.ViewEventSession
ViewEvent.ViewEventSession(String id, ViewEvent.ViewEventSessionType type, Boolean hasReplay, Boolean isActive, Boolean sampledForReplay)
- Parameters:
id- UUID of the sessiontype- Type of the sessionhasReplay- Whether this session has a replayisActive- Whether this session is currently active.sampledForReplay- Whether this session has been sampled for replay
-
-
Method Detail
-
getType
final ViewEvent.ViewEventSessionType getType()
-
getHasReplay
final Boolean getHasReplay()
-
getIsActive
final Boolean getIsActive()
-
getSampledForReplay
final Boolean getSampledForReplay()
-
toJson
final JsonElement toJson()
-
-
-
-