Android Guides | Samples

Android.App.TimePickerDialog Class

A dialog that prompts the user for the time of day using a TimePicker.

See Also: TimePickerDialog

Syntax

[Android.Runtime.Register("android/app/TimePickerDialog", DoNotGenerateAcw=true)]
public class TimePickerDialog : AlertDialog, IDialogInterfaceOnClickListener, TimePicker+IOnTimeChangedListener, IDisposable

Remarks

A dialog that prompts the user for the time of day using a TimePicker.

See the Pickers guide.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.App.TimePickerDialog are listed below.

See Also: AlertDialog

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

OnClick(IDialogInterface, Int32)
This method will be invoked when a button in the dialog is clicked.
OnTimeChanged(TimePicker, Int32, Int32)
UpdateTime(Int32, Int32)
Sets the current time.