我正在开发一个应用程序,当用户安排它们执行时,它必须运行某些任务。我不确定以下内容在 Android 文档中的含义。
triggerAtMillis: time in milliseconds that the alarm should go off, using the appropriate clock (depending on the alarm type)
set
这是来自方法文档的引用。
例如,如果我希望任务在 27.10.2013 18:05 运行,我应该使用 1382810700000 (以毫秒为单位的日期)还是从现在到那个时间之间的时间(以毫秒为单位)?