AlarmManager.SetTime(Int64) 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.
Set the system wall clock time.
[Android.Runtime.Register("setTime", "(J)V", "GetSetTime_JHandler")]
[Android.Runtime.RequiresPermission("android.permission.SET_TIME")]
public virtual void SetTime (long millis);
[<Android.Runtime.Register("setTime", "(J)V", "GetSetTime_JHandler")>]
[<Android.Runtime.RequiresPermission("android.permission.SET_TIME")>]
abstract member SetTime : int64 -> unit
override this.SetTime : int64 -> unit
Parameters
- millis
- Int64
time in milliseconds since the Epoch
- Attributes
Remarks
Set the system wall clock time. Requires the permission android.permission.SET_TIME.
Java documentation for android.app.AlarmManager.setTime(long)
.
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.