alarms.Alarm
単一のアラームに関する情報を含みます。このオブジェクトは alarms.get()
や alarms.getAll()
の戻り値として返されます。また、alarms.onAlarm
リスナに渡されることもあります。
値の型
この値の型はオブジェクトであり、以下のプロパティを含みます。
name
-
string
. アラームの名前(このアラームを生成したalarms.create()
の呼び出し時に渡された名前)を表します。 scheduledTime
-
double
. 次にアラームが発火する時刻(1970 年 1 月 1 日からの経過ミリ秒)を表します。 periodInMinutes
省略可-
double
. この値がnull
ではない場合、アラームが発火する周期を分単位で表します。
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
Alarm |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
メモ:
この API は Chromium の chrome.alarms
API に基づいています。