Class RecordingEventTrigger
-
- All Implemented Interfaces:
@Serializable() public final class RecordingEventTriggerRepresents a single event trigger configuration from Settings API.
An event trigger defines conditions under which session replay recording should be automatically started when a specific event is tracked.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublepercentageprivate final JsonElementpropertyFilters
-
Constructor Summary
Constructors Constructor Description RecordingEventTrigger(Double percentage, JsonElement propertyFilters)
-
Method Summary
Modifier and Type Method Description final DoublegetPercentage()Sampling percentage (0-100). final JsonElementgetPropertyFilters()Optional JSONLogic expression for property filtering. -
-
Constructor Detail
-
RecordingEventTrigger
RecordingEventTrigger(Double percentage, JsonElement propertyFilters)
-
-
Method Detail
-
getPercentage
final Double getPercentage()
Sampling percentage (0-100). Determines what percentage of events matching this trigger should actually start recording.
-
getPropertyFilters
final JsonElement getPropertyFilters()
Optional JSONLogic expression for property filtering. If null, no property filtering is applied (all events with this name match). If present, the event properties must satisfy the JSONLogic expression.
-
-
-
-