![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
A description of the differences between two record values.
Instance Methods | |
(nullable NSArray< PTDiffusionRecordV2DeltaChange * > *) | - changesWithSchema:error: |
(BOOL) | - isEqualToRecordV2Delta: |
- (nullable NSArray< PTDiffusionRecordV2DeltaChange * > *) changesWithSchema: | (PTDiffusionRecordV2Schema *) | schema | |
error: | (NSError **) | error | |
Returns a list of the changes represented by the delta with reference to the specified schema.
The schema supplied must comply with the data format of the delta. No validation takes place, so if the schema does not match the data then the results may be unpredictable.
schema | The schema to use for interpreting this delta. |
error | If this method returns nil to indicate that an error occurred then this will be populated with the reason for that failure. |
- (BOOL) isEqualToRecordV2Delta: | (nullable PTDiffusionRecordV2Delta *) | delta |
Compares the receiver to the given recordV2 delta.
delta | The object with which to compare the receiver. |
YES
if the delta is equal to the contents of the receiver, otherwise NO
.