Connects to the mobilesync 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 mobilesync_client_t upon successful return. |
- Return values
-
MOBILESYNC_E_SUCCESS | on success |
MOBILESYNC_E_INVALID_ARG | if one or more parameters are invalid |
DEVICE_LINK_SERVICE_E_BAD_VERSION | if the mobilesync version on the device is newer. |