libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilebackup_send_error()

mobilebackup_error_t mobilebackup_send_error ( mobilebackup_client_t  client,
const char *  reason 
)

Sends a backup error message to the device.

Parameters
clientThe connected MobileBackup client to use.
reasonA string describing the reason for the error message.
Returns
MOBILEBACKUP_E_SUCCESS on success, MOBILEBACKUP_E_INVALID_ARG if one of the parameters is invalid, or MOBILEBACKUP_E_MUX_ERROR if a communication error occurs.