|
◆ mobilebackup_client_new()
Connects to the mobilebackup service on the specified device.
- Parameters
-
device | The device to connect to. |
service | The service descriptor returned by lockdownd_start_service. |
client | Pointer that will be set to a newly allocated mobilebackup_client_t upon successful return. |
- Returns
- MOBILEBACKUP_E_SUCCESS on success, MOBILEBACKUP_E_INVALID ARG if one or more parameters are invalid, or DEVICE_LINK_SERVICE_E_BAD_VERSION if the mobilebackup version on the device is newer.
|