Interface

NotificationHandler

NotificationManager.NotificationHandler

Notification Handler interface

Members

boolean

static enabled

Whether the handler is enabled
NotificationManager.NotificationHandlerType

static readonly id

Id of the handler

Methods

static addFilter(filter) → {function}

Adds a new filter
Parameters:
Name Type Description
filter NotificationHandler.NotificationFilterFunction Filter function to be added
callback to remove the filter
function

static clearFilters()

Clear current filters

static getFilters() → {Array.<NotificationHandler.NotificationFilterFunction>}

Get all current filters
array of current filters