AWSCognitoRecord Class Reference

Inherits from AWSCognitoRecordMetadata : NSObject
Declared in AWSCognitoRecord.h
AWSCognitoRecord.m

Other Methods

  data

The data for the record.

@property (nonatomic, strong) AWSCognitoRecordValue *data

Declared In

AWSCognitoRecord.h

– initWithId:data:

Initializes a AWSCognitoRecord with the given recordID, given data, and a dirtyCount and recordVersion of 0.

- (instancetype)initWithId:(NSString *)recordId data:(AWSCognitoRecordValue *)data

Parameters

recordId

The record ID of the AWSCognitoRecord

data

the initial data that the AWSCognitoRecord will contain

Declared In

AWSCognitoRecord.h

– isDeleted

Returns true if this record has been deleted

- (BOOL)isDeleted

Return Value

YES if the record is deleted, NO otherwise

Declared In

AWSCognitoRecord.h

Other Methods

– isDirty

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

- (BOOL)isDirty

Declared In

AWSCognitoRecord.h