alarms.clearAll()

予約されたアラームすべてを解除します。

構文

js
browser.alarms.clearAll(
  function(wasCleared) {...}   // 関数
)

引数

callback

function. この関数には以下の引数が渡ります。

wasCleared

boolean. アラームが解除された場合は true が、それ以外の場合は false が入ります。Chrome の場合は常に true が入ることに注意してください。

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
clearAll

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

Example extensions

メモ: この API は Chromium の chrome.alarms API に基づいています。