Class TrackSeriesContext

java.lang.Object
com.launchdarkly.sdk.android.integrations.TrackSeriesContext

public class TrackSeriesContext extends Object
Represents parameters associated with tracking a custom event. An instance of this class is provided to some stages of series of a Hook implementation. For example, see Hook.afterTrack(TrackSeriesContext)
  • Field Details

    • key

      public final String key
      The key for the event being tracked.
    • context

      public final LDContext context
      The context associated with the track operation.
    • data

      public final LDValue data
      The data associated with the track operation.
    • metricValue

      public final Double metricValue
      The metric value associated with the track operation.
  • Constructor Details

    • TrackSeriesContext

      public TrackSeriesContext(String key, LDContext context, LDValue data, Double metricValue)
      Parameters:
      key - the key for the event being tracked.
      context - the context associated with the track operation.
      data - the data associated with the track operation.
      metricValue - the metric value associated with the track operation.
  • Method Details