libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilesync_ready_to_send_changes_from_computer()

mobilesync_error_t mobilesync_ready_to_send_changes_from_computer ( mobilesync_client_t  client)

Verifies if the device is ready to receive changes from the computer.

This call changes the synchronization direction so that mobilesync_send_changes() can be used to send changes to the device.

Parameters
clientThe mobilesync client
Return values
MOBILESYNC_E_SUCCESSon success
MOBILESYNC_E_INVALID_ARGif one of the parameters is invalid
MOBILESYNC_E_PLIST_ERRORif the received plist is not of valid form
MOBILESYNC_E_WRONG_DIRECTIONif the current sync direction does not permit this call
MOBILESYNC_E_CANCELLEDif the device explicitly cancelled the session
MOBILESYNC_E_NOT_READYif the device is not ready to start receiving any changes