Class

TimePickerSelection

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

Functions

toString

Source set: Android
override fun toString(): String

Members

Companion

Source set: Android
public companion object

Properties

Hour

Source set: Android
public val Hour: TimePickerSelection = TimePickerSelection(0)

Represents the hour component of the time.

Minute

Source set: Android
public val Minute: TimePickerSelection = TimePickerSelection(1)

Represents the minute component of the time.

Second

Source set: Android
public val Second: TimePickerSelection = TimePickerSelection(2)

Represents the second component of the time.

Period

Source set: Android
public val Period: TimePickerSelection = TimePickerSelection(3)

Represents the AM/PM period component of the time for 12-hour formats.

ConfirmButton

Source set: Android
public val ConfirmButton: TimePickerSelection = TimePickerSelection(4)

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

None

Source set: Android
public val None: TimePickerSelection = TimePickerSelection(5)

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: