Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
<PTDiffusionTopicNotificationListener> Protocol Reference

Methods implemented by classes handling streamed topic notifications. More...

#include <PTDiffusionTopicNotificationListener.h>

Inheritance diagram for <PTDiffusionTopicNotificationListener>:
<PTDiffusionStreamDelegate> PTDiffusionDefaultTopicNotificationListener

Instance Methods

(void) - diffusionStream:didReceiveDescendantNotificationWithType:topicPath:
(void) - diffusionStream:didReceiveNotificationWithType:topicPath:specification:
Instance Methods inherited from <PTDiffusionStreamDelegate>
(void) - diffusionStream:didFailWithError:
(void) - diffusionDidCloseStream:

Detailed Description

Methods implemented by classes handling streamed topic notifications.

This protocol defines methods to be implemented by classes wishing to receive streamed topic notifications.

See also
PTDiffusionTopicNotificationsFeature
Since
6.1

Method Documentation

◆ diffusionStream:didReceiveDescendantNotificationWithType:topicPath:

- (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.

Parameters
streamThe stream that received the update.
typeThe type of notification.
topicPathThe path of the immediate descendant that is not selected.
Since
6.1

◆ diffusionStream:didReceiveNotificationWithType:topicPath:specification:

- (void) diffusionStream: (PTDiffusionStream *) stream
didReceiveNotificationWithType: (PTDiffusionTopicNotificationType *) type
topicPath: (NSString *) topicPath
specification: (PTDiffusionTopicSpecification *) specification 

Notification for a selected topic.

Parameters
streamThe stream that received the update.
typeThe type of notification.
topicPathThe path of the topic that this notification is for.
specificationThe specification of the topic that this notification is for.
Since
6.1