Class UiTimedTracker<T extends TickerObserver & Tracker>

    • Method Detail

      • create

        public static <T extends TickerObserver & TrackerUiTimedTracker create​(@NonNull
                                                                                 EventEmitter eventEmitter,
                                                                                 T tracker)
        Instantiates a UiTimedTracker that decorates a TimedTracker.
        eventEmitter - EventEmitter to listen for the UiEvents.
        tracker - TimedTracker to decorate.
        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
        trackingEvents - List of events to be tracked.