MozNetworkStatsManager.removeAlarms()

This API is available on Firefox OS for internal applications only.

Summary

The removeAlarms method removes all network alarms. If an alarmId is provided, then only that alarm is removed.

Syntax

JavaScript
var alarm = removeAlarms(alarmId);

Parameters

alarmID Optional
ID of an alarm, like the one returned by MozNetworkStatsManager.addAlarm.

Return

A DOMRequest object.

Specifications

Not part of any specification.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/moznetworkstatsmanager/removealarms

API B2G Firefox OS Method Network Stats Non-standard Reference Référence