ITrueTimeManager

Functions

Link copied to clipboard
abstract fun getCurrentTimeSeconds(): Long
Link copied to clipboard
suspend fun ITrueTimeManager.getCurrentTimeSecondsWithRetry(attempts: Int = TRUE_TIME_RETRY_ATTEMPTS, delayMs: Long = TRUE_TIME_RETRY_DELAY_MS): Long

Polls getCurrentTimeSeconds without blocking a thread. Returns -1 if still unavailable.

Link copied to clipboard
abstract fun initializeTrueTime(): Boolean