AWSCognitoConflict Class Reference

Inherits from AWSCognitoRecordTuple : NSObject
Declared in AWSCognitoConflict.h
AWSCognitoConflict.m

Overview

An object that encapsulates a conflicting record where both the local and remote have been modified since the last synchronization.

– resolveWithLocalRecord

Create a AWSCognitoResolvedConflict object with the value of the local record.

- (AWSCognitoResolvedConflict *)resolveWithLocalRecord

Return Value

AWSCognitoResolvedConflict object using local value

Declared In

AWSCognitoConflict.h

– resolveWithRemoteRecord

Create a AWSCognitoResolvedConflict object with the value of the remote (cloud) record.

- (AWSCognitoResolvedConflict *)resolveWithRemoteRecord

Return Value

AWSCognitoResolvedConflict object using remote (cloud) value

Declared In

AWSCognitoConflict.h

– resolveWithValue:

Create a AWSCognitoResolvedConflict object with a custom value that is neither the local nor remote value.

- (AWSCognitoResolvedConflict *)resolveWithValue:(NSString *)value

Parameters

value

the value to use to resolve the conflict

Return Value

AWSCognitoResolvedConflict object using passed value

Declared In

AWSCognitoConflict.h