State

interface State

The state of a Timer

Inheritors

Types

Link copied to clipboard

A State that indicates that a Timer is not currently running.

Link copied to clipboard
interface Running : Timer.State

A State that indicates the Timer is currently running. This may result in changes to elapsed

Properties

Link copied to clipboard
abstract val elapsed: Flow<Duration>

A Flow of the Duration that has elapsed while the timer was in a Running state