KNYSyncEventDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | KNYSyncEventDelegate.h |
Overview
The delegate of a KNYSync object must adopt the KNYSyncEventDelegate protocol in order to handle sync life cycle events
Tasks
-
– didRegisterDeviceStart: -
– didRegisterDeviceSuccess: -
– didRegisterDeviceError: -
– didSyncStart: -
– didSyncSuccess: -
– didSyncError: -
– didUploadStart: -
– didUploadSuccess: -
– didUploadError: -
– didDownloadStart: -
– didDownloadSuccess: -
– didDownloadError: -
– didDownloadBatchStart: -
– didDownloadBatchSuccess: -
– didDownloadBatchError: -
– didUploadBatchStart: -
– didUploadBatchSuccess: -
– didUploadBatchError: -
– didIsSchemaUpgradeRequiredStart: -
– didIsSchemaUpgradeRequiredSuccess: -
– didIsSchemaUpgradeRequiredError: -
– didUpgradeScriptsDownloadStart: -
– didUpgradeScriptsDownloadSuccess: -
– didUpgradeScriptsDownloadError: -
– didUpgradeScriptsExecutionStart: -
– didUpgradeScriptsExecutionSuccess: -
– didUpgradeScriptsExecutionError: -
– didPerformUpgradeStart: -
– didPerformUpgradeSuccess: -
– didPerformUpgradeError:
Instance Methods
didDownloadBatchError:
This method will be invoked when there is an error during the download batch process
- (void)didDownloadBatchError:(KNYSyncErrorContext *)syncErrorContextDiscussion
This method will be invoked when there is an error during the download batch process
Declared In
KNYSyncEventDelegate.hdidDownloadBatchStart:
This method will be invoked before each download batch starts
- (void)didDownloadBatchStart:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked before each download batch starts
Declared In
KNYSyncEventDelegate.hdidDownloadBatchSuccess:
This method will be invoked after each download batch completes successfully
- (void)didDownloadBatchSuccess:(KNYSyncBatchContext *)syncBatchContextDiscussion
This method will be invoked after each download batch completes successfully
Declared In
KNYSyncEventDelegate.hdidDownloadError:
This method will be invoked when there is an error during the download process
- (void)didDownloadError:(KNYSyncErrorContext *)syncErrorContextDiscussion
This method will be invoked when there is an error during the download process
Declared In
KNYSyncEventDelegate.hdidDownloadStart:
This method will be invoked before download starts
- (void)didDownloadStart:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked before download starts
Declared In
KNYSyncEventDelegate.hdidDownloadSuccess:
This method will be invoked after download completes successfully
- (void)didDownloadSuccess:(KNYSyncSummaryContext *)syncSummaryContextDiscussion
This method will be invoked after download completes successfully
Declared In
KNYSyncEventDelegate.hdidIsSchemaUpgradeRequiredError:
This method will be invoked if there is any error occured during execution of syncUpgradeRequired call
- (void)didIsSchemaUpgradeRequiredError:(KNYSyncErrorContext *)errorcontextDiscussion
This method will be invoked if there is any error occured during execution of syncUpgradeRequired call
Declared In
KNYSyncEventDelegate.hdidIsSchemaUpgradeRequiredStart:
This method will be invoked before the execution of syncUpgradeRequired
- (void)didIsSchemaUpgradeRequiredStart:(KNYSyncContext *)contextDiscussion
This method will be invoked before the execution of syncUpgradeRequired
Declared In
KNYSyncEventDelegate.hdidIsSchemaUpgradeRequiredSuccess:
This method will be invoked if syncUpgradeRequired succeeds
- (void)didIsSchemaUpgradeRequiredSuccess:(KNYSyncContext *)contextDiscussion
This method will be invoked if syncUpgradeRequired succeeds
Declared In
KNYSyncEventDelegate.hdidPerformUpgradeError:
This method will be invoked if there error occured during perform upgrade
- (void)didPerformUpgradeError:(KNYSyncErrorContext *)errorcontextDiscussion
This method will be invoked if there error occured during perform upgrade
Declared In
KNYSyncEventDelegate.hdidPerformUpgradeStart:
This method will be invoked before perform upgrade starts
- (void)didPerformUpgradeStart:(KNYSyncContext *)contextDiscussion
This method will be invoked before perform upgrade starts
Declared In
KNYSyncEventDelegate.hdidPerformUpgradeSuccess:
This method will be invoked if perform upgrade succeeds
- (void)didPerformUpgradeSuccess:(KNYSyncSummaryContext *)contextDiscussion
This method will be invoked if perform upgrade succeeds
Declared In
KNYSyncEventDelegate.hdidRegisterDeviceError:
This method will be invoked when there is an error during the device registration process
- (void)didRegisterDeviceError:(KNYSyncContext *)syncErrorContextDiscussion
This method will be invoked when there is an error during the device registration process
Declared In
KNYSyncEventDelegate.hdidRegisterDeviceStart:
This method will be invoked before device registration starts
- (void)didRegisterDeviceStart:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked before device registration starts
Declared In
KNYSyncEventDelegate.hdidRegisterDeviceSuccess:
This method will be invoked after device registration completes successfully
- (void)didRegisterDeviceSuccess:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked after device registration completes successfully
Declared In
KNYSyncEventDelegate.hdidSyncError:
This method will be invoked when there is an error during the synchronization process
- (void)didSyncError:(KNYSyncErrorContext *)syncErrorContextDiscussion
This method will be invoked when there is an error during the synchronization process
Declared In
KNYSyncEventDelegate.hdidSyncStart:
This method will be invoked before synchronization starts
- (void)didSyncStart:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked before synchronization starts
Declared In
KNYSyncEventDelegate.hdidSyncSuccess:
This method will be invoked after synchronization ends successfully
- (void)didSyncSuccess:(KNYSyncSummaryContext *)syncSummaryContextDiscussion
This method will be invoked after synchronization ends successfully
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsDownloadError:
This method will be invoked when there is an error occured in dowloading update scripts
- (void)didUpgradeScriptsDownloadError:(KNYSyncErrorContext *)errorcontextDiscussion
This method will be invoked when there is an error occured in dowloading update scripts
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsDownloadStart:
This method will be invoked before the download of the update scripts
- (void)didUpgradeScriptsDownloadStart:(KNYSyncContext *)contextDiscussion
This method will be invoked before the download of the update scripts
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsDownloadSuccess:
This method will be invoked if the update scripts download succeeds
- (void)didUpgradeScriptsDownloadSuccess:(KNYSyncUpgradescriptsContext *)scriptsContextDiscussion
This method will be invoked if the update scripts download succeeds
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsExecutionError:
This method will be invoked when there is an error during execution of updateScripts
- (void)didUpgradeScriptsExecutionError:(KNYSyncErrorContext *)errorcontextDiscussion
This method will be invoked when there is an error during execution of updateScripts
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsExecutionStart:
This method will be invoked before the execution of update scripts
- (NSArray *)didUpgradeScriptsExecutionStart:(KNYSyncUpgradescriptsContext *)scriptsContextDiscussion
This method will be invoked before the execution of update scripts
Declared In
KNYSyncEventDelegate.hdidUpgradeScriptsExecutionSuccess:
This method will be invoked if the execution of update scripts succeeds
- (void)didUpgradeScriptsExecutionSuccess:(KNYSyncUpgradescriptsContext *)scriptsContextDiscussion
This method will be invoked if the execution of update scripts succeeds
Declared In
KNYSyncEventDelegate.hdidUploadBatchError:
This method will be invoked when there is an error during the upload batch process
- (void)didUploadBatchError:(KNYSyncErrorContext *)syncEventContextDiscussion
This method will be invoked when there is an error during the upload batch process
Declared In
KNYSyncEventDelegate.hdidUploadBatchStart:
This method will be invoked before each upload batch starts
- (void)didUploadBatchStart:(KNYSyncContext *)syncEventContextDiscussion
This method will be invoked before each upload batch starts
Declared In
KNYSyncEventDelegate.hdidUploadBatchSuccess:
This method will be invoked after each upload batch completes successfully
- (void)didUploadBatchSuccess:(KNYSyncBatchContext *)syncBatchContextDiscussion
This method will be invoked after each upload batch completes successfully
Declared In
KNYSyncEventDelegate.hdidUploadError:
This method will be invoked when there is an error during the upload process
- (void)didUploadError:(KNYSyncErrorContext *)syncErrorContextDiscussion
This method will be invoked when there is an error during the upload process
Declared In
KNYSyncEventDelegate.h