Diffusion Apple API
6.2.7
Unified Client Library for iOS, tvOS and OS X / macOS
|
A value updater may be used to update topics of a certain type by specifying new values.
An updater can be used to send any number of updates.
If this updater was obtained from an update source, the topics that can be updated are restricted by the topic path used to register the update source.
Class Methods | |
(instancetype) | + NS_UNAVAILABLE |
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
(void) | - removeCachedValuesWithTopicSelector: |
(void) | - removeCachedValuesWithSelectorExpression: |
- (void) removeCachedValuesWithSelectorExpression: | (NSString *) | expression |
A convenience method wrapping a call to [self removeCachedValuesWithTopicSelector:]
expression | The topic selector expression to be evaluated locally, indicating the topics for which entries are to be removed. |
NSInvalidArgumentException | If the expression argument is nil . |
- (void) removeCachedValuesWithTopicSelector: | (PTDiffusionTopicSelector *) | topicSelector |
Removes values from the value cache.
If a cached value is removed, the next update for a topic will transmit the whole value to the server rather than a delta.
topicSelector | Indicating the topics for which entries are to be removed. |
NSInvalidArgumentException | If the topicSelector argument is nil . |