getTimeSinceEvent

abstract suspend fun getTimeSinceEvent(event: TimeInformation.Event, updateProgress: suspend (progress: Progress) -> Unit = {}): Long

Get time since event occurred on sensor.

Return

Time since event occurred in milliseconds

Parameters

event

Event to get time since it occurred

updateProgress

Progress of the operation