libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilebackup_send_restore_complete()

mobilebackup_error_t mobilebackup_send_restore_complete ( mobilebackup_client_t  client)

Tells the device that the restore process is complete and waits for the device to close the connection.

After that, the device should reboot.

Parameters
clientThe connected MobileBackup client to use.
Returns
MOBILEBACKUP_E_SUCCESS on success, MOBILEBACKUP_E_INVALID_ARG if client is invalid, MOBILEBACKUP_E_PLIST_ERROR if the received disconnect message plist is invalid, or MOBILEBACKUP_E_MUX_ERROR if a communication error occurs.