| Framework | SyncServices/SyncServices.h |
| Declared in | SyncServicesErrors.h |
This chapter describes the types and constants found in the Sync Services:
typedef int ISyncChangeType; enum __ISyncChangeType { ISyncChangeTypeAdd=1, ISyncChangeTypeModify, ISyncChangeTypeDelete };
These types are described in ISyncChange Class Reference.
SyncServices/ISyncChange.h
typedef SInt32 ISyncStatus; enum __ISyncStatus { ISyncStatusRunning=1, ISyncStatusSuccess, ISyncStatusWarnings, ISyncStatusErrors, ISyncStatusCancelled, ISyncStatusFailed, ISyncStatusNever };
These types are described in ISyncClient Class Reference.
SyncServices/ISyncClient.h
typedef enum {
ISyncSessionDriverModeFast = 1,
ISyncSessionDriverModeSlow,
ISyncSessionDriverModeRefresh,
} ISyncSessionDriverMode;
These types are described in ISyncSessionDriverDataSource Protocol Reference.
SyncServices/ISyncSessionDriver.h
typedef enum {
ISyncSessionDriverChangeRefused = 0,
ISyncSessionDriverChangeAccepted,
ISyncSessionDriverChangeIgnored,
ISyncSessionDriverChangeError
} ISyncSessionDriverChangeResult;
These types are described in ISyncSessionDriverDataSource Protocol Reference.
SyncServices/ISyncSessionDriver.hCodes for errors that can occur when using an ISyncSessionDriver object or other Sync Services classes.
enum {
ISyncSessionClientAlreadySyncingError = 100,
ISyncSessionUserCanceledSessionError = 101,
ISyncSessionDriverRegistrationError = 200,
ISyncSessionDriverPullFailureError = 201,
ISyncSessionDriverFatalError = 300
};
ISyncSessionClientAlreadySyncingErrorError code that indicates the client is already syncing.
Available in Mac OS X v10.5 and later.
Declared in SyncServicesErrors.h
ISyncSessionUserCanceledSessionErrorError code that indicates the user canceled the sync session.
Available in Mac OS X v10.5 and later.
Declared in SyncServicesErrors.h
ISyncSessionDriverRegistrationErrorError code that indicates the session driver failed to register the client.
Available in Mac OS X v10.5 and later.
Declared in SyncServicesErrors.h
ISyncSessionDriverPullFailureErrorError code that indicates the session driver failed to pull records.
Available in Mac OS X v10.5 and later.
Declared in SyncServicesErrors.h
ISyncSessionDriverFatalErrorError code that indicates an ISyncSessionDriver received a fatal error.
Available in Mac OS X v10.5 and later.
Declared in SyncServicesErrors.h
SyncServices/SyncServicesErrors.h
extern NSString * const ISyncChangePropertyActionKey; extern NSString * const ISyncChangePropertySet; extern NSString * const ISyncChangePropertyClear; extern NSString * const ISyncChangePropertyNameKey; extern NSString * const ISyncChangePropertyValueKey;
These constants are defined in ISyncChange Class Reference.
SyncServices/ISyncChange.h
extern NSString * const ISyncClientTypeApplication; extern NSString * const ISyncClientTypeDevice; extern NSString * const ISyncClientTypeServer; extern NSString * const ISyncClientTypePeer;
These constants are defined in ISyncClient Class Reference.
SyncServices/ISyncClient.h
extern NSString * const ISyncServerUnavailableException
This constant is defined in ISyncManager Class Reference.
SyncServices/ISyncManager.h
extern NSString * const ISyncSessionCancelledException; extern NSString * const ISyncSessionUnavailableException; extern NSString * const ISyncInvalidRecordException; extern NSString * const ISyncInvalidRecordIdentifiersKey; extern NSString * const ISyncInvalidRecordReasonsKey; extern NSString * const ISyncInvalidRecordsKey; extern NSString * const ISyncInvalidEntityException; extern NSString * const ISyncUnsupportedEntityException;
These constants are defined in ISyncSession Class Reference.
SyncServices/ISyncSession.hextern NSString * const ISyncRecordEntityNameKey;
These constants are defined in ISyncSession Class Reference.
SyncServices/ISyncSession.h
Domain for errors that occurred using Sync Services classes and methods.
NSString *const ISyncErrorDomain;
SyncServices/SyncServicesErrors.h
Last updated: 2007-07-11