libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilesync_clear_all_records_on_device()

mobilesync_error_t mobilesync_clear_all_records_on_device ( mobilesync_client_t  client)

Requests the device to delete all records of the current data class.

Note
The operation must be called after starting synchronization.
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