AWSCognitoRecordMetadata Class Reference

Inherits from NSObject
Declared in AWSCognitoRecord.h
AWSCognitoRecord.m

  recordId

Record ID or name.

@property (nonatomic, readonly) NSString *recordId

Declared In

AWSCognitoRecord.h

  lastModified

The last date the record was modified.

@property (nonatomic, readonly) NSDate *lastModified

Declared In

AWSCognitoRecord.h

  lastModifiedBy

The ID of the client that last modified the record. Set in AWSCognitoConfig under the clientID property.

@property (nonatomic, strong) NSString *lastModifiedBy

Declared In

AWSCognitoRecord.h

  dirty

Boolean indicating whether or not the record has updates/deletes that need to be synced with the server.

@property (nonatomic, readonly, getter=isDirty) BOOL dirty

Declared In

AWSCognitoRecord.h

  dirtyCount

Integer value indicating how many times the record has been written since the last sync. The value is 0 if the record has not been modified. The value is incremented by 1 each time the record is updated. The value is set to -1 when the record is marked as deleted from the local database.

@property (nonatomic, assign) int64_t dirtyCount

Declared In

AWSCognitoRecord.h

  syncCount

Integer value of the server sync count of the record.

@property (nonatomic, assign) int64_t syncCount

Declared In

AWSCognitoRecord.h

– isEqualMetadata:

Checks if the metadata matches.

- (BOOL)isEqualMetadata:(id)object

Parameters

object

The object to be compared to the receiver. May be nil, in which case this method returns NO.

Return Value

YES if the receiver and object have equal metadata, otherwise NO.

Declared In

AWSCognitoRecord.h