SFSyncTask Class Reference

Inherits from NSObject
Declared in SFSyncTask.h

Overview

Abstract super class of task classes responsible for running syncs

  syncManager

@property (nonatomic, strong, readonly) SFMobileSyncSyncManager *syncManager

  syncId

@property (nonatomic, strong, readonly) NSNumber *syncId

– init:sync:updateBlock:

- (instancetype)init:(SFMobileSyncSyncManager *)syncManager sync:(SFSyncState *)sync updateBlock:(__nullable SFSyncSyncManagerUpdateBlock)updateBlock

– run

- (void)run

– shouldStop

- (BOOL)shouldStop

– updateSync:countSynched:

- (void)updateSync:(SFSyncState *)sync countSynched:(NSUInteger)countSynched

– failSync:failureMessage:error:

- (void)failSync:(SFSyncState *)sync failureMessage:(NSString *)failureMessage error:(NSError *)error