libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_activate_with_session()

mobileactivation_error_t mobileactivation_activate_with_session ( mobileactivation_client_t  client,
plist_t  activation_record,
plist_t  headers 
)

Activates the device with the given activation record in 'session' mode.

The activation record plist must be obtained using the activation protocol requesting from Apple's https webservice.

Parameters
clientThe mobileactivation client
activation_recordThe activation record in plist format
headersA plist dictionary with the activation response headers as returned from Apple's https webservice with the activation record
Returns
MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* error code otherwise.