Diffusion Apple API  6.5.2
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Instance Methods | List of all members
PTDiffusionRecordV2Delta Class Reference

Introduction

A description of the differences between two record values.

Since
6.0.2
Inheritance diagram for PTDiffusionRecordV2Delta:

Instance Methods

(nullable NSArray
< PTDiffusionRecordV2DeltaChange * > *) 
- changesWithSchema:error:
 
(BOOL) - isEqualToRecordV2Delta:
 

Method Documentation

- (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.

Parameters
schemaThe schema to use for interpreting this delta.
errorIf this method returns nil to indicate that an error occured then this will be populated with the reason for that failure.
Returns
List of the changes represented by the delta with reference to the specified schema.
Since
6.0.2
- (BOOL) isEqualToRecordV2Delta: (nullable PTDiffusionRecordV2Delta *)  delta

Compares the receiver to the given recordV2 delta.

Parameters
deltaThe object with which to compare the receiver.
Returns
YES if the delta is equal to the contents of the receiver, otherwise NO.
Since
6.0.2