AlarmManager.AlarmClockInfo(Int64, PendingIntent) 构造函数

定义

创建新的闹钟说明。

[Android.Runtime.Register(".ctor", "(JLandroid/app/PendingIntent;)V", "")]
public AlarmClockInfo (long triggerTime, Android.App.PendingIntent? showIntent);
[<Android.Runtime.Register(".ctor", "(JLandroid/app/PendingIntent;)V", "")>]
new Android.App.AlarmManager.AlarmClockInfo : int64 * Android.App.PendingIntent -> Android.App.AlarmManager.AlarmClockInfo

参数

triggerTime
Int64

自纪元以来,基础警报在墙时间毫秒内触发的时间

showIntent
PendingIntent

可用于显示或编辑闹钟详细信息的意向。

属性

注解

创建新的闹钟说明。

适用于 . 的 android.app.AlarmManager.AlarmClockInfo.AlarmManager$AlarmClockInfo(long, android.app.PendingIntent)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于