libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobileactivation_get_activation_state()

mobileactivation_error_t mobileactivation_get_activation_state ( mobileactivation_client_t  client,
plist_t *  state 
)

Retrieves the device's activation state.

Parameters
clientThe mobileactivation client.
statePointer to a plist_t variable that will be set to the activation state reported 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.