Package-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
fun ActiveDurationText(checkpoint: ExerciseUpdate.ActiveDurationCheckpoint, state: ExerciseState, content: @Composable (Duration) -> Unit = { FormattedDurationText(duration = it) })

Composable to make it easier to create a chronometer from Health Services exercise data.

Link copied to clipboard
fun FormattedDurationText(duration: Duration, modifier: Modifier = Modifier, formatter: (Duration) -> String = patternFormatter(), color: Color = Color.Unspecified, textAlign: TextAlign? = null, style: TextStyle = LocalTextStyle.current)
Link copied to clipboard
fun patternFormatter(format: String = ActiveDurationDefaults.HH_MM_SS): (Duration) -> String