Package 

Class BaseTimeProvider

  • All Implemented Interfaces:
    ai.kubesense.android.internal.time.TimeProvider

    
    public abstract class BaseTimeProvider
     implements TimeProvider
                        

    A base implementation of TimeProvider that provides the device time using system calls.

    • Method Summary

      Modifier and Type Method Description
      final Long getDeviceTimestampMillis() Returns the current device timestamp in milliseconds.
      final Long getDeviceElapsedTimeNanos() Returns the current device monotonic elapsed time in nanoseconds.
      final Long getDeviceElapsedRealtimeMillis() Returns the time since boot in milliseconds, including time spent in sleep.
      • Methods inherited from class ai.kubesense.android.internal.time.BaseTimeProvider

        getServerOffsetMillis, getServerOffsetNanos, getServerTimestampMillis
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait