time Picker Semantics
fun timePickerSemantics(hourPickerLabel: String? = "Hour", minutePickerLabel: String? = "Minute", periodPickerLabel: String? = "AM/PM", previousItemActionLabel: String? = PreviousItemActionLabel, nextItemActionLabel: String? = NextItemActionLabel): TimePickerSemantics
Creates semantics configuration for a time picker.
Shared previous/next action labels are applied to all child picker columns. Use TimePickerSemantics.copy with semantics when one column needs a custom label.
Return
A TimePickerSemantics instance with the specified semantics behavior.
Parameters
hour Picker Label
Accessibility label for the hour picker. Pass null to omit the picker label prefix.
minute Picker Label
Accessibility label for the minute picker. Pass null to omit the picker label prefix.
period Picker Label
Accessibility label for the AM/PM picker in 12-hour time. Pass null to omit the picker label prefix.
previous Item Action Label
Accessibility action label used by child pickers to select the previous item.
next Item Action Label
Accessibility action label used by child pickers to select the next item.