Diffusion Apple API
6.1.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
The topic stream delegate protocol defines the methods to be implemented by classes wishing to receive streamed topic updates.
Instance Methods | |
(void) | - diffusionStream:didUpdateTopicPath:content:context: |
(void) | - diffusionStream:didSubscribeToTopicPath:details: |
(void) | - diffusionStream:didUnsubscribeFromTopicPath:reason: |
Instance Methods inherited from <PTDiffusionStreamDelegate> | |
(void) | - diffusionStream:didFailWithError: |
(void) | - diffusionDidCloseStream: |
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didSubscribeToTopicPath: | (NSString *) | topicPath | |
details: | (PTDiffusionTopicDetails *) | details | |
A subscription notification was received for a topic path handled by the topic stream.
The subscription could be as a result of a request from this client's associated session or it might have been requested by another control client.
stream | The topic stream that received the subscription notification. |
topicPath | The topic path to which the session has been subscribed. |
details | The details of the subscription. |
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didUnsubscribeFromTopicPath: | (NSString *) | topicPath | |
reason: | (PTDiffusionTopicUnsubscriptionReason) | reason | |
An unsubscription notification was received for a topic path handled by the topic stream.
The unsubscription could be as a result of a request from this client's associated session or it might have been requested by another control client.
stream | The topic stream that received the unsubscription notification. |
topicPath | The topic path from which the session has been unsubscribed. |
reason | The reason for the unsubscription. |
- (void) diffusionStream: | (PTDiffusionStream *) | stream | |
didUpdateTopicPath: | (NSString *) | topicPath | |
content: | (PTDiffusionContent *) | content | |
context: | (PTDiffusionUpdateContext *) | context | |
An update was received for a topic path handled by the topic stream.
stream | The topic stream that received the update. |
topicPath | The topic path that was updated. |
content | The content of the updated topic. |
context | The context of the update. |