Diffusion Apple API
5.9.24
Unified Client Library for iOS, OS X and tvOS
|
The protocol to which topic notify topic details builders conform.
Properties | |
BOOL | cachesMetadata |
Properties inherited from <PTDiffusionTopicDetailsBuilder> | |
NSString * | reference |
BOOL | tidiesOnUnsubscribe |
NSDictionary< NSString *, NSString * > * | properties |
Additional Inherited Members | |
Instance Methods inherited from <PTDiffusionTopicDetailsBuilder> | |
(void) | - setPropertyValue:forKey: |
(BOOL) | - removePropertyForKey: |
(nullable NSString *) | - propertyValueForKey: |
|
readwritenonatomicassign |
Sets the 'metadata caching' option.
If not explicitly set, it is assumed that metadata caching is used therefore this only needs to be called to turn the option off in situations where metadata names are not unique.
Caching can significantly improve performance and reduce bandwidth required for notifications from such a topic but it can only be used if all instances of metadata used by topics that get notified (potentially all) have unique names. Using caching when names are not unique can lead to incorrect metadata notifications.