Class UiTimedTracker<T extends TickerObserver & Tracker>

    • Method Detail

      • create

        public static <T extends TickerObserver & TrackerUiTimedTracker create​(@NonNull
                                                                                 EventEmitter eventEmitter,
                                                                                 @NonNull
                                                                                 T tracker)
        Instantiates a UiTimedTracker that decorates a TimedTracker.
        Parameters:
        eventEmitter - EventEmitter to listen for the UiEvents.
        tracker - TimedTracker to decorate.
        Returns:
        a new instance of a UiTimedTracker.
      • getTimedTracker

        public T getTimedTracker()
      • track

        public void track​(@NonNull
                          java.util.List<TrackingEvent> trackingEvents)
        Description copied from interface: Tracker
        Tracks the given TrackingEvent.
        Specified by:
        track in interface Tracker
        Parameters:
        trackingEvents - List of events to be tracked.