![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
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.
Instance Methods | |
| (void) | - selectWithTopicSelectorExpression:completionHandler: |
| (void) | - deselectWithTopicSelectorExpression:completionHandler: |
Instance Methods inherited from PTDiffusionRegistration | |
| (void) | - closeWithCompletionHandler: |
| (void) | - close |
| - (void) deselectWithTopicSelectorExpression: | (NSString *) | expression | |
| completionHandler: | (void(^)(NSError *_Nullable error)) | completionHandler | |
Request to stop receiving notifications for all topics matched by the provided topic selector.
| expression | The topic selector expression to be evaluated by the server. |
| completionHandler | Block 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. |
| NSInvalidArgumentException | Raised if any arguments are `nil`. |
| - (void) selectWithTopicSelectorExpression: | (NSString *) | expression | |
| completionHandler: | (void(^)(NSError *_Nullable error)) | completionHandler | |
Request to receive notifications for all topics matched by the provided topic selector.
| expression | The topic selector expression to be evaluated by the server. |
| completionHandler | Block 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. |
| NSInvalidArgumentException | Raised if any arguments are `nil`. |