Diffusion Apple API  6.5.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
PTDiffusionRegistration Class Reference

Introduction

A reference to a registered handle.

Such a reference is provided once a handler with a server-side presence has been registered.

Since
6.1
Inheritance diagram for PTDiffusionRegistration:
PTDiffusionSessionPropertiesListenerRegistration PTDiffusionTopicNotificationRegistration PTDiffusionTopicTreeRegistration

Instance Methods

(void) - closeWithCompletionHandler:
 
(void) - close
 

Method Documentation

- (void) close

Request that the handler is unregistered from the server.

If the handler has already been unregistered, calling this method has no effect.

Note
Before 6.1 this method was defined on PTDiffusionTopicTreeRegistration.
Since
5.7
- (void) closeWithCompletionHandler: (NSError *_Nullable error)  completionHandler

Request that the handler is unregistered from the server.

After the handler is unregistered, the completionHandler will be notified.

Parameters
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.
Since
6.1