Type Definitions
The following type definitions are available globally.
- 
                  
                  
DatasetDeletedHandler
Declaration
Objective-C
typedef BOOL (^AWSCognitoDatasetDeletedHandler)(NSString *)Swift
typealias AWSCognitoDatasetDeletedHandler = (String?) -> BoolParameters
datasetNameThe name of the dataset that was deleted
Return Value
YES if Cognito should recreate the dataset, NO if Cognito should delete the local copy of the dataset.
 - 
                  
                  
DatasetMergedHandler
Declaration
Objective-C
typedef void (^AWSCognitoDatasetMergedHandler)(NSString *, NSArray *)Swift
typealias AWSCognitoDatasetMergedHandler = (String?, [Any]?) -> VoidParameters
datasetNameThe name of the local dataset that is the destination of the merge
datasetsThe list of dataset names that should be merged into the destination
 - 
                  
                  
ConflictHandler
Declaration
Objective-C
typedef AWSCognitoResolvedConflict * (^AWSCognitoRecordConflictHandler)( NSString *, AWSCognitoConflict *)Swift
typealias AWSCognitoRecordConflictHandler = (String?, AWSCognitoConflict?) -> AWSCognitoResolvedConflict?Parameters
conflictThe AWSCognitoConflict for this record. Conflict contains both local and remote data as properties.
Return Value
An instance of AWSCognitoResolvedConflict which indicates what data should be stored and syncronized. Returning nil will cancel synchronization.
 
View on GitHub
Install in Dash
        Type Definitions  Reference