Constants

CATEGORY_INFORMATION

CATEGORY_INFORMATION

CATEGORY_WARNING

CATEGORY_WARNING

CATEGORY_ALERT

CATEGORY_ALERT

CATEGORY_PROMOTION

CATEGORY_PROMOTION

CATEGORY_FEEDBACK

CATEGORY_FEEDBACK

AREA_WEBSITES

AREA_WEBSITES

AREA_ACCOUNTS

AREA_ACCOUNTS

AREA_SECURITY

AREA_SECURITY

AREA_PERFORMANCE

AREA_PERFORMANCE

AREA_MAINTENANCE

AREA_MAINTENANCE

AREA_PRODUCT

AREA_PRODUCT

Methods

getTitle()

getTitle() : string

Retrieve title of notification, which will be shown at settings page

Returns

string

getMessage()

getMessage() : string

Retrieve message of notification

Returns

string

getSubject()

getSubject() : string

Retrieve subject of notification

Returns

string

getActionText()

getActionText() : string

Retrieve text of notification button

Returns

string

getActionUrl()

getActionUrl() : string

Retrieve url of notification button

Returns

string

getCategory()

getCategory() : string

Retrieve category of notification, which conveys how important is it

Returns

string —

one of predefined category constants

getArea()

getArea() : string

Retrieve area of notification

Returns

string —

one of predefined area constants or empty string

getContext()

getContext() : string

Retrieve notification context, which describe who send notification (typically extension name used)

Returns

string

getContextIcon()

getContextIcon() : string

Retrieve notification context icon (typically extension icon used)

Returns

string