mobilesync_start - libimobiledevice 1.4.0

| libimobiledevice 1.4.0 API Documentation - Return to Homepage

mobilesync_acknowledge_changes_from_device
mobilesync_actions_add
mobilesync_actions_free
mobilesync_actions_new
mobilesync_anchors_free
mobilesync_anchors_new
mobilesync_anchors_t
mobilesync_cancel
mobilesync_clear_all_records_on_device
mobilesync_client_free
mobilesync_client_new
mobilesync_client_start_service
mobilesync_client_t
mobilesync_error_t
mobilesync_finish
mobilesync_get_all_records_from_device
mobilesync_get_changes_from_device
mobilesync_ready_to_send_changes_from_computer
mobilesync_receive
mobilesync_receive_changes
mobilesync_remap_identifiers
mobilesync_send
mobilesync_send_changes
MOBILESYNC_SERVICE_NAME
mobilesync_start
mobilesync_sync_type_t
| ## ◆ mobilesync_start()
LIBIMOBILEDEVICE_API mobilesync_error_t mobilesync_start | ( | mobilesync_client_t | client,
|  | const char * | data_class,
|  | mobilesync_anchors_t | anchors,
|  | uint64_t | computer_data_class_version,
|  | mobilesync_sync_type_t * | sync_type,
|  | uint64_t * | device_data_class_version,
|  | char ** | error_description )
  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