NotificationsService class

A service class to manage notifications from the Haveno daemon.

Constructors

NotificationsService()
Constructor for NotificationsService.

Properties

hashCode → int
The hash code for this object.
no setterinherited
havenoChannel → HavenoChannel
Instance of HavenoChannel used to communicate with the Haveno service.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(NotificationMessage_NotificationType type, void listener(NotificationMessage)) → void
Adds a listener for a specific notification type.
listen({int retryDelaySeconds = 5}) → Future<void>
Starts listening for notifications from the Haveno service.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(NotificationMessage_NotificationType type, void listener(NotificationMessage)) → void
Removes a listener for a specific notification type.
stop() → void
Stops listening for notifications and cleans up resources.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited