Class

DurationPickerSelection

Specifies which element is selected in the DurationPicker.

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

Specifies which element is selected in the DurationPicker.

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

Hours

Source set: Android
public val Hours: DurationPickerSelection = DurationPickerSelection(0)

Represents the hours component of the duration.

Minutes

Source set: Android
public val Minutes: DurationPickerSelection = DurationPickerSelection(1)

Represents the minutes component of the duration.

Seconds

Source set: Android
public val Seconds: DurationPickerSelection = DurationPickerSelection(2)

Represents the seconds component of the duration.

ConfirmButton

Source set: Android
public val ConfirmButton: DurationPickerSelection = DurationPickerSelection(3)

Represents the confirmation button component used to confirm the selected duration.

None

Source set: Android
public val None: DurationPickerSelection = DurationPickerSelection(4)

Indicates that no specific component is selected. Used primarily for accessibility.

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: