![]() |
Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
|
Methods implemented by classes handling streamed topic notifications. More...
#include <PTDiffusionTopicNotificationListener.h>
Instance Methods | |
| (void) | - diffusionStream:didReceiveDescendantNotificationWithType:topicPath: |
| (void) | - diffusionStream:didReceiveNotificationWithType:topicPath:specification: |
| Instance Methods inherited from <PTDiffusionStreamDelegate> | |
| (void) | - diffusionStream:didFailWithError: |
| (void) | - diffusionDidCloseStream: |
Methods implemented by classes handling streamed topic notifications.
This protocol defines methods to be implemented by classes wishing to receive streamed topic notifications.
| - (void) diffusionStream: | (PTDiffusionStream *) | stream | |
| didReceiveDescendantNotificationWithType: | (PTDiffusionTopicNotificationType *) | type | |
| topicPath: | (NSString *) | topicPath |
Notification for an immediate descendant of a selected topic path. This notifies the presence or absence of a descendant topic that may subsequently be explicitly selected.
| stream | The stream that received the update. |
| type | The type of notification. |
| topicPath | The path of the immediate descendant that is not selected. |
| - (void) diffusionStream: | (PTDiffusionStream *) | stream | |
| didReceiveNotificationWithType: | (PTDiffusionTopicNotificationType *) | type | |
| topicPath: | (NSString *) | topicPath | |
| specification: | (PTDiffusionTopicSpecification *) | specification |
Notification for a selected topic.
| stream | The stream that received the update. |
| type | The type of notification. |
| topicPath | The path of the topic that this notification is for. |
| specification | The specification of the topic that this notification is for. |