libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilesync_cancel()

mobilesync_error_t mobilesync_cancel ( mobilesync_client_t  client,
const char *  reason 
)

Cancels a running synchronization session with a device at any time.

Parameters
clientThe mobilesync client
reasonThe reason to supply to the device for cancelling
Return values
MOBILESYNC_E_SUCCESSon success
MOBILESYNC_E_INVALID_ARGif one of the parameters is invalid