libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_activate()

mobileactivation_error_t mobileactivation_activate ( mobileactivation_client_t  client,
plist_t  activation_record 
)

Activates the device with the given activation record.

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

Parameters
clientThe mobileactivation client
activation_recordThe activation record plist dictionary
Returns
MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* error code otherwise.