AWSCognitoConflict
Objective-C
@interface AWSCognitoConflict : AWSCognitoRecordTuple
Swift
class AWSCognitoConflict : AWSCognitoRecordTuple
An object that encapsulates a conflicting record where both the local and remote have been modified since the last synchronization.
-
Create a AWSCognitoResolvedConflict object with the value of the local record.
Declaration
Objective-C
- (AWSCognitoResolvedConflict *)resolveWithLocalRecord;
Swift
func resolveWithLocalRecord() -> AWSCognitoResolvedConflict!
Return Value
AWSCognitoResolvedConflict object using local value
-
Create a AWSCognitoResolvedConflict object with the value of the remote (cloud) record.
Declaration
Objective-C
- (AWSCognitoResolvedConflict *)resolveWithRemoteRecord;
Swift
func resolveWithRemoteRecord() -> AWSCognitoResolvedConflict!
Return Value
AWSCognitoResolvedConflict object using remote (cloud) value
-
Create a AWSCognitoResolvedConflict object with a custom value that is neither the local nor remote value.
Declaration
Objective-C
- (AWSCognitoResolvedConflict *)resolveWithValue:(NSString *)value;
Swift
func resolve(withValue value: String!) -> AWSCognitoResolvedConflict!
Parameters
value
the value to use to resolve the conflict
Return Value
AWSCognitoResolvedConflict object using passed value