Gets the set of all current notifications created by the add-on.
Syntax
browser.notifications.getAll( function(notifications) {...} )
Parameters
callback
function
. The function is passed the following arguments:-
notifications
object
orarray
. In Firefox this is an array of strings, each of which is the ID of a currently active notification. In Chrome it is an object with one property for each active notification, whose name is the ID of that notification and whose value istrue
.
Browser compatibility
Examples
Acknowledgements
This API is based on Chromium's chrome.notifications
API.