Loading...
Searching...
No Matches
NotificationListener Class Referenceabstract

Class provides a callback to be invoked when NotificationManager detects local notification events. More...

Public Member Functions

void onNotificationLoaded (Notification notification)
 Called when iBeacon signal mathed all parameters in notification.
 
void onNotificationFailed (Error error)
 Called if unable to calculate notification or network errors.
 

Detailed Description

Class provides a callback to be invoked when NotificationManager detects local notification events.

Referenced from NotificationManager.

Note
The callback is invoked in the UI thread.

Definition at line 23 of file notification_listener.dart.

Member Function Documentation

◆ onNotificationFailed()

void NotificationListener.onNotificationFailed ( Error error)

Called if unable to calculate notification or network errors.

Parameters
errorhandled error.

◆ onNotificationLoaded()

void NotificationListener.onNotificationLoaded ( Notification notification)

Called when iBeacon signal mathed all parameters in notification.

Parameters
notificationnotification instance created in CMS Notification.

The documentation for this class was generated from the following file: