libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_create_activation_info()

mobileactivation_error_t mobileactivation_create_activation_info ( mobileactivation_client_t  client,
plist_t *  info 
)

Retrieves the activation info required for device activation.

Parameters
clientThe mobileactivation client
infoPointer to a plist_t variable that will be set to the activation info created by the mobileactivation service. The consumer is responsible for freeing the returned object using plist_free().
Returns
MOBILEACTIVATION_E_SUCCESS on success, or an MOBILEACTIVATION_E_* error code otherwise.