libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_client_new()

mobileactivation_error_t mobileactivation_client_new ( idevice_t  device,
lockdownd_service_descriptor_t  service,
mobileactivation_client_t client 
)

Connects to the mobileactivation service on the specified device.

Parameters
deviceThe device to connect to.
serviceThe service descriptor returned by lockdownd_start_service.
clientReference that will point to a newly allocated mobileactivation_client_t upon successful return.
Returns
MOBILEACTIVATION_E_SUCCESS on success, MOBILEACTIVATION_E_INVALID_ARG when one of the parameters is invalid, or MOBILEACTIVATION_E_MUX_ERROR when the connection failed.