Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

TimePickerDialog.OnTimeSetListener

public static interface TimePickerDialog.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 void onTimeSet(TimePicker view, int hourOfDay, int minute)

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

Public methods

onTimeSet

added in API level 1
public abstract void onTimeSet (TimePicker view, 
                int hourOfDay, 
                int minute)

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