Udostępnij za pośrednictwem


TimePickerDialog.IOnTimeSetListener.OnTimeSet Method

Definition

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

[Android.Runtime.Register("onTimeSet", "(Landroid/widget/TimePicker;II)V", "GetOnTimeSet_Landroid_widget_TimePicker_IIHandler:Android.App.TimePickerDialog/IOnTimeSetListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnTimeSet (Android.Widget.TimePicker? view, int hourOfDay, int minute);
[<Android.Runtime.Register("onTimeSet", "(Landroid/widget/TimePicker;II)V", "GetOnTimeSet_Landroid_widget_TimePicker_IIHandler:Android.App.TimePickerDialog/IOnTimeSetListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnTimeSet : Android.Widget.TimePicker * int * int -> unit

Parameters

view
TimePicker

the view associated with this listener

hourOfDay
Int32

the hour that was set

minute
Int32

the minute that was set

Attributes

Remarks

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

Java documentation for android.app.TimePickerDialog.OnTimeSetListener.onTimeSet(android.widget.TimePicker, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to