public static interface TopicNotifications.TopicNotificationListener extends Stream
| Modifier and Type | Interface and Description |
|---|---|
static class |
TopicNotifications.TopicNotificationListener.Default
Default listener.
|
static class |
TopicNotifications.TopicNotificationListener.NotificationType
The type of notification that has been received.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onDescendantNotification(String topicPath,
TopicNotifications.TopicNotificationListener.NotificationType type)
Notification for an immediate descendant of a selected topic path.
|
void |
onTopicNotification(String topicPath,
TopicSpecification specification,
TopicNotifications.TopicNotificationListener.NotificationType type)
A notification for a selected topic.
|
void onDescendantNotification(String topicPath, TopicNotifications.TopicNotificationListener.NotificationType type)
topicPath - the path of the immediate descendant that is not selectedtype - the type of notificationvoid onTopicNotification(String topicPath, TopicSpecification specification, TopicNotifications.TopicNotificationListener.NotificationType type)
topicPath - the path of the topic that this notification is forspecification - the specification of the topic that this
notification is fortype - the type of notificationCopyright © 2024 DiffusionData Limited. All rights reserved.