Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionTopicNotificationListener> Protocol Reference

Introduction

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
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:
 

Method Documentation

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