Diffusion Apple API  6.10.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Instance Methods | List of all members
PTDiffusionTopicNotificationRegistration Class Reference

Introduction

The registration state of the associated topic notification listener on the server.

Provides operations to control which topic paths the listener will receive notifications for.

Since
6.1
Inheritance diagram for PTDiffusionTopicNotificationRegistration:
PTDiffusionRegistration

Instance Methods

(void) - selectWithTopicSelectorExpression:completionHandler:
 
(void) - deselectWithTopicSelectorExpression:completionHandler:
 
- Instance Methods inherited from PTDiffusionRegistration
(void) - closeWithCompletionHandler:
 
(void) - close
 

Method Documentation

- (void) deselectWithTopicSelectorExpression: (NSString *)  expression
completionHandler: (NSError *_Nullable error)  completionHandler 

Request to stop receiving notifications for all topics matched by the provided topic selector.

Parameters
expressionThe topic selector expression to be evaluated by the server.
completionHandlerBlock to be called asynchronously on success or failure. If the operation was successful, the error argument passed to the block will be nil. The completion handler will be called asynchronously on the main dispatch queue.
Exceptions
NSInvalidArgumentExceptionRaised if any arguments are nil.
Since
6.1
- (void) selectWithTopicSelectorExpression: (NSString *)  expression
completionHandler: (NSError *_Nullable error)  completionHandler 

Request to receive notifications for all topics matched by the provided topic selector.

Parameters
expressionThe topic selector expression to be evaluated by the server.
completionHandlerBlock to be called asynchronously on success or failure. If the operation was successful, the error argument passed to the block will be nil. The completion handler will be called asynchronously on the main dispatch queue.
Exceptions
NSInvalidArgumentExceptionRaised if any arguments are nil.
Since
6.1