Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
Attributes applicable to all topic types.
A topic attributes object is immutable.
Properties | |
NSString * | reference |
BOOL | tidiesOnUnsubscribe |
NSDictionary< NSString *, NSString * > * | properties |
Instance Methods | |
(BOOL) | - isEqualToTopicAttributes: |
- (BOOL) isEqualToTopicAttributes: | (nullable PTDiffusionTopicAttributes *) | topicAttributes |
Compares the receiver to the given topic attributes.
topicAttributes | The topic attributes object with which to compare the receiver. |
YES
if the topic attributes is equal to the receiver, otherwise NO
.
|
readnonatomicassign |
Additional properties.
|
readnonatomicassign |
The topic reference or a zero length string if not set.
|
readnonatomicassign |
The 'tidy on unsubscribe' flag.
By default, if a client unsubscribes from a topic, it may still receive content already queued for it on that topic.
If this option is set to YES
, when a client unsubscribes from a topic then any content for that topic that is still queued for the client is removed. There can be a performance overhead to using this option as the client queue must be locked whilst content is removed, however it may prove useful for preventing unwanted data being sent to clients.