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

Introduction

Represents a single change between one record value and another.

Since
6.0.2
Inheritance diagram for PTDiffusionRecordV2DeltaChange:

Properties

PTDiffusionRecordV2DeltaChangeTypetype
 A change contained within a record delta. More...
 
NSString * recordName
 
SInt32 recordIndex
 
NSString * fieldName
 
SInt32 fieldIndex
 
NSString * key
 

Instance Methods

(BOOL) - isEqualToRecordV2DeltaChange:
 

Method Documentation

- (BOOL) isEqualToRecordV2DeltaChange: (nullable PTDiffusionRecordV2DeltaChange *)  change

Compares the receiver to the given recordV2 delta change.

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

Property Documentation

- (SInt32) fieldIndex
readnonatomicassign

The index of the affected field.

This will be 0 if the type is recordsAdded (PTDiffusionRecordV2DeltaChangeType) or recordsRemoved (PTDiffusionRecordV2DeltaChangeType).

Since
6.0.2
- (NSString*) fieldName
readnonatomicassign

The name of the affected field.

This will be a zero length (empty) string if the type is recordsAdded (PTDiffusionRecordV2DeltaChangeType) or recordsRemoved (PTDiffusionRecordV2DeltaChangeType).

Since
6.0.2
- (NSString*) key
readnonatomicassign

The string key representation of the affected item in the form recordName(recordIndex).fieldName(fieldIndex) or just recordName(recordIndex) if the type is recordsAdded (PTDiffusionRecordV2DeltaChangeType) or recordsRemoved (PTDiffusionRecordV2DeltaChangeType).

Since
6.0.2
- (SInt32) recordIndex
readnonatomicassign

The index of the affected record.

This will be 0 for the first (or only) record occurrence with the given name.

Since
6.0.2
- (NSString*) recordName
readnonatomicassign

The name of the affected record.

Since
6.0.2
- (PTDiffusionRecordV2DeltaChangeType*) type
readnonatomicassign

A change contained within a record delta.

Since
6.0.2