Class

DurationPickerType

Specifies the types of columns to display in the DurationPicker.

Source set: Android
public class DurationPickerType internal constructor(internal val value: Int)

Specifies the types of columns to display in the DurationPicker.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

HoursMinutesSeconds

Source set: Android
public val HoursMinutesSeconds: DurationPickerType = DurationPickerType(0)

Displays three columns: Hours, Minutes, and Seconds. The default minimum valid duration is 1 second, the default maximum valid duration is 23h 59m 59s, and the limit is 99h 59m 59s.

MinutesSeconds

Source set: Android
public val MinutesSeconds: DurationPickerType = DurationPickerType(1)

Displays two columns: Minutes and Seconds. The default minimum valid duration is 1 second, and both the default maximum valid duration and the limit are 59m 59s.

HoursMinutes

Source set: Android
public val HoursMinutes: DurationPickerType = DurationPickerType(2)

Displays two columns: Hours and Minutes. The default minimum valid duration is 1 minute, the default maximum valid duration is 23h 59m, and the limit is 99h 59m.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: