libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ lockdownd_deactivate()

lockdownd_error_t lockdownd_deactivate ( lockdownd_client_t  client)

Deactivates the device, returning it to the locked “Activate with iTunes” screen.

Parameters
clientThe lockdown client
Returns
LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client is NULL, LOCKDOWN_E_NO_RUNNING_SESSION if no session is open, LOCKDOWN_E_PLIST_ERROR if the received plist is broken