Class RecordingEventTrigger

  • All Implemented Interfaces:

    @Serializable() 
    public final class RecordingEventTrigger
    
                        

    Represents 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Double getPercentage() Sampling percentage (0-100).
      final JsonElement getPropertyFilters() Optional JSONLogic expression for property filtering.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.