Added in API level 1

OnTimeSetListener

interface OnTimeSetListener
android.app.TimePickerDialog.OnTimeSetListener

The callback interface used to indicate the user is done filling in the time (e.g. they clicked on the 'OK' button).

Summary

Public methods
abstract Unit
onTimeSet(view: TimePicker!, hourOfDay: Int, minute: Int)

Called when the user is done setting a new time and the dialog has closed.

Public methods

onTimeSet

Added in API level 1
abstract fun onTimeSet(
    view: TimePicker!,
    hourOfDay: Int,
    minute: Int
): Unit

Called when the user is done setting a new time and the dialog has closed.

Parameters
view TimePicker!: the view associated with this listener
hourOfDay Int: the hour that was set
minute Int: the minute that was set