BrainBit for developers Subscribe for updates Visit website

SubscribersNotifier

Package: com.neuromd.neurosdk

Event subscription management class. Used by channels to send notifications (INotificationCallback) about the arrival of new data.

Includes the following fields:

Subscribe

Method for adding a signature to an event

Options:

callback: an instance of the class with the function to handle the notification.

More details: INotificationCallback

Unsubscribe

Event signature removal method

Options:

callback: an instance of the class with the function to handle the notification.

More details: INotificationCallback

Unsubscribe

Method for removing all signatures for an event

 

SendNotification

Notify everyone about the event. Used internally by the SDK.

Not recommended for use.

Options:

sender: Alert source.

 

param: Parameter value passed by source