startMeetingProgressTimer

Starts a timer to track the progress of a meeting.

This function calculates the elapsed time from the provided start time, updates the time every second, and formats it to HH:MM:SS.

  • If the meeting is invalidated or the room name is empty, the timer stops.

Example Usage:

startMeetingProgressTimer(
options = StartMeetingProgressTimerOptions(
startTime = Clock.System.now().toEpochMilliseconds() / 1000,
parameters = object : StartMeetingProgressTimerParameters {
override val updateMeetingProgressTime: UpdateMeetingProgressTime = { time ->
}
override val validated: Boolean = true
override val roomName: String = "room1"
override fun getUpdatedAllParams(): StartMeetingProgressTimerParameters = this
}
)
)