eventRealtimeOffset

fun eventRealtimeOffset(eventTimestamp: Double): Double

Used when the replayer is actively playing and emitting replay events. Call this from your ReplayEventsObserver to offset the current time to accurately represent when the simulated or historical event occurred - needed for sub-millisecond accuracy or when simulating routes at high frequencies @see ReplayRouteOptions.frequency.

Return

the difference in realtime and the event replayed

Parameters

eventTimestamp

to get the realtime offset for