Requests starting synchronization of a data class with the device.
- Parameters
-
| client | The mobilesync client |
| data_class | The data class identifier to sync |
| anchors | The anchors required to exchange with the device. The anchors allow the device to tell if the synchronization information on the computer and device are consistent to determine what sync type is required. |
| computer_data_class_version | The version of the data class storage on the computer |
| sync_type | A pointer to store the sync type reported by the device_anchor |
| device_data_class_version | The version of the data class storage on the device |
| error_description | A pointer to store an error message if reported by the device |
- Return values
-
| MOBILESYNC_E_SUCCESS | on success |
| MOBILESYNC_E_INVALID_ARG | if one of the parameters is invalid |
| MOBILESYNC_E_PLIST_ERROR | if the received plist is not of valid form |
| MOBILESYNC_E_SYNC_REFUSED | if the device refused to sync |
| MOBILESYNC_E_CANCELLED | if the device explicitly cancelled the sync request |
References mobilesync_start().
Referenced by mobilesync_start().