public static interface TimePicker.TimeChangedListener
onTimeChanged(ohos.agp.components.TimePicker, int, int, int) is called back to process time change events.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onTimeChanged(TimePicker timePicker,
int hour,
int minute,
int second) |
Listens for time change events of a time picker.
|
void onTimeChanged(TimePicker timePicker, int hour, int minute, int second)
This method is called back to process the time change events.
timePicker - Indicates the associated time picker.hour - Indicates the hour.minute - Indicates the minute.second - Indicates the second.