StreamLink for iOS
8.0.2.287281-045ba3c8
|
Provides information about a change to type 1 data (simple fieldname and data pairs) in a record. More...
Instance Methods | |
(NSDictionary< NSString *, NSString * > *) | - fields |
Returns the record fields relating to the event, as a dictionary of key-value pairs. More... | |
Provides information about a change to type 1 data (simple fieldname and data pairs) in a record.
- (NSDictionary<NSString *,NSString *>* SLRecordDataEvent) fields |
Returns the record fields relating to the event, as a dictionary of key-value pairs.
The key within the dictionary pair is the field name, the value is the new value of that field.
When a call to isImage() returns true, the subscription data event contains an image of the data for the subscribed item. All the fields comprising the record are present in the NSDictionary. The application must discard any values previously received and replace them with the values contained within the NSDictionary.
When a call to isImage() returns false, the subscription data event contains new data for the subscribed record. The values in the NSDictionary returned by fields, are an update to any values previously received and any application caches should be updated appropriately. Only fields whose values have changed are present in the NSDictionary.