alarms.clearAll()
予約されたアラームすべてを解除します。
構文
js
browser.alarms.clearAll(
function(wasCleared) {...} // 関数
)
引数
callback
-
function
. この関数には以下の引数が渡ります。wasCleared
-
boolean
. アラームが解除された場合はtrue
が、それ以外の場合はfalse
が入ります。Chrome の場合は常にtrue
が入ることに注意してください。
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
clearAll |
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.
Example extensions
メモ:
この API は Chromium の chrome.alarms
API に基づいています。