TimePickerDialog.UpdateTime(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current time.
[Android.Runtime.Register("updateTime", "(II)V", "GetUpdateTime_IIHandler")]
public virtual void UpdateTime(int hourOfDay, int minuteOfHour);
[<Android.Runtime.Register("updateTime", "(II)V", "GetUpdateTime_IIHandler")>]
abstract member UpdateTime : int * int -> unit
override this.UpdateTime : int * int -> unit
Parameters
- hourOfDay
- Int32
The current hour within the day.
- minuteOfHour
- Int32
The current minute within the hour.
- Attributes
Remarks
Sets the current time.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-08-03 UTC.
Android reference for android.app.TimePickerDialog.updateTime.
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.