Retrieves the device's activation state.
- Parameters
-
client | The mobileactivation client. |
state | Pointer 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.