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

Instance Methods

didDownloadBatchError:

This method will be invoked when there is an error during the download batch process

- (void)didDownloadBatchError:(KNYSyncErrorContext *)syncErrorContext

Discussion

This method will be invoked when there is an error during the download batch process

Declared In

KNYSyncEventDelegate.h

didDownloadBatchStart:

This method will be invoked before each download batch starts

- (void)didDownloadBatchStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before each download batch starts

Declared In

KNYSyncEventDelegate.h

didDownloadBatchSuccess:

This method will be invoked after each download batch completes successfully

- (void)didDownloadBatchSuccess:(KNYSyncBatchContext *)syncBatchContext

Discussion

This method will be invoked after each download batch completes successfully

Declared In

KNYSyncEventDelegate.h

didDownloadError:

This method will be invoked when there is an error during the download process

- (void)didDownloadError:(KNYSyncErrorContext *)syncErrorContext

Discussion

This method will be invoked when there is an error during the download process

Declared In

KNYSyncEventDelegate.h

didDownloadStart:

This method will be invoked before download starts

- (void)didDownloadStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before download starts

Declared In

KNYSyncEventDelegate.h

didDownloadSuccess:

This method will be invoked after download completes successfully

- (void)didDownloadSuccess:(KNYSyncSummaryContext *)syncSummaryContext

Discussion

This method will be invoked after download completes successfully

Declared In

KNYSyncEventDelegate.h

didIsSchemaUpgradeRequiredError:

This method will be invoked if there is any error occured during execution of syncUpgradeRequired call

- (void)didIsSchemaUpgradeRequiredError:(KNYSyncErrorContext *)errorcontext

Discussion

This method will be invoked if there is any error occured during execution of syncUpgradeRequired call

Declared In

KNYSyncEventDelegate.h

didIsSchemaUpgradeRequiredStart:

This method will be invoked before the execution of syncUpgradeRequired

- (void)didIsSchemaUpgradeRequiredStart:(KNYSyncContext *)context

Discussion

This method will be invoked before the execution of syncUpgradeRequired

Declared In

KNYSyncEventDelegate.h

didIsSchemaUpgradeRequiredSuccess:

This method will be invoked if syncUpgradeRequired succeeds

- (void)didIsSchemaUpgradeRequiredSuccess:(KNYSyncContext *)context

Discussion

This method will be invoked if syncUpgradeRequired succeeds

Declared In

KNYSyncEventDelegate.h

didPerformUpgradeError:

This method will be invoked if there error occured during perform upgrade

- (void)didPerformUpgradeError:(KNYSyncErrorContext *)errorcontext

Discussion

This method will be invoked if there error occured during perform upgrade

Declared In

KNYSyncEventDelegate.h

didPerformUpgradeStart:

This method will be invoked before perform upgrade starts

- (void)didPerformUpgradeStart:(KNYSyncContext *)context

Discussion

This method will be invoked before perform upgrade starts

Declared In

KNYSyncEventDelegate.h

didPerformUpgradeSuccess:

This method will be invoked if perform upgrade succeeds

- (void)didPerformUpgradeSuccess:(KNYSyncSummaryContext *)context

Discussion

This method will be invoked if perform upgrade succeeds

Declared In

KNYSyncEventDelegate.h

didRegisterDeviceError:

This method will be invoked when there is an error during the device registration process

- (void)didRegisterDeviceError:(KNYSyncContext *)syncErrorContext

Discussion

This method will be invoked when there is an error during the device registration process

Declared In

KNYSyncEventDelegate.h

didRegisterDeviceStart:

This method will be invoked before device registration starts

- (void)didRegisterDeviceStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before device registration starts

Declared In

KNYSyncEventDelegate.h

didRegisterDeviceSuccess:

This method will be invoked after device registration completes successfully

- (void)didRegisterDeviceSuccess:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked after device registration completes successfully

Declared In

KNYSyncEventDelegate.h

didSyncError:

This method will be invoked when there is an error during the synchronization process

- (void)didSyncError:(KNYSyncErrorContext *)syncErrorContext

Discussion

This method will be invoked when there is an error during the synchronization process

Declared In

KNYSyncEventDelegate.h

didSyncStart:

This method will be invoked before synchronization starts

- (void)didSyncStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before synchronization starts

Declared In

KNYSyncEventDelegate.h

didSyncSuccess:

This method will be invoked after synchronization ends successfully

- (void)didSyncSuccess:(KNYSyncSummaryContext *)syncSummaryContext

Discussion

This method will be invoked after synchronization ends successfully

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsDownloadError:

This method will be invoked when there is an error occured in dowloading update scripts

- (void)didUpgradeScriptsDownloadError:(KNYSyncErrorContext *)errorcontext

Discussion

This method will be invoked when there is an error occured in dowloading update scripts

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsDownloadStart:

This method will be invoked before the download of the update scripts

- (void)didUpgradeScriptsDownloadStart:(KNYSyncContext *)context

Discussion

This method will be invoked before the download of the update scripts

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsDownloadSuccess:

This method will be invoked if the update scripts download succeeds

- (void)didUpgradeScriptsDownloadSuccess:(KNYSyncUpgradescriptsContext *)scriptsContext

Discussion

This method will be invoked if the update scripts download succeeds

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsExecutionError:

This method will be invoked when there is an error during execution of updateScripts

- (void)didUpgradeScriptsExecutionError:(KNYSyncErrorContext *)errorcontext

Discussion

This method will be invoked when there is an error during execution of updateScripts

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsExecutionStart:

This method will be invoked before the execution of update scripts

- (NSArray *)didUpgradeScriptsExecutionStart:(KNYSyncUpgradescriptsContext *)scriptsContext

Discussion

This method will be invoked before the execution of update scripts

Declared In

KNYSyncEventDelegate.h

didUpgradeScriptsExecutionSuccess:

This method will be invoked if the execution of update scripts succeeds

- (void)didUpgradeScriptsExecutionSuccess:(KNYSyncUpgradescriptsContext *)scriptsContext

Discussion

This method will be invoked if the execution of update scripts succeeds

Declared In

KNYSyncEventDelegate.h

didUploadBatchError:

This method will be invoked when there is an error during the upload batch process

- (void)didUploadBatchError:(KNYSyncErrorContext *)syncEventContext

Discussion

This method will be invoked when there is an error during the upload batch process

Declared In

KNYSyncEventDelegate.h

didUploadBatchStart:

This method will be invoked before each upload batch starts

- (void)didUploadBatchStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before each upload batch starts

Declared In

KNYSyncEventDelegate.h

didUploadBatchSuccess:

This method will be invoked after each upload batch completes successfully

- (void)didUploadBatchSuccess:(KNYSyncBatchContext *)syncBatchContext

Discussion

This method will be invoked after each upload batch completes successfully

Declared In

KNYSyncEventDelegate.h

didUploadError:

This method will be invoked when there is an error during the upload process

- (void)didUploadError:(KNYSyncErrorContext *)syncErrorContext

Discussion

This method will be invoked when there is an error during the upload process

Declared In

KNYSyncEventDelegate.h

didUploadStart:

This method will be invoked before upload starts

- (void)didUploadStart:(KNYSyncContext *)syncEventContext

Discussion

This method will be invoked before upload starts

Declared In

KNYSyncEventDelegate.h

didUploadSuccess:

This method will be invoked after upload completes successfully

- (void)didUploadSuccess:(KNYSyncSummaryContext *)syncSummaryContext

Discussion

This method will be invoked after upload completes successfully

Declared In

KNYSyncEventDelegate.h