libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ companion_proxy_get_value_from_registry()

companion_proxy_error_t companion_proxy_get_value_from_registry ( companion_proxy_client_t  client,
const char *  companion_udid,
const char *  key,
plist_t *  value 
)

Returns a value for the given key.

Parameters
clientThe companion_proxy client
companion_udidUDID of the (paired) companion device
keyThe key to retrieve the value for
Note
The device closes the connection after sending the reply.
Returns
COMPANION_PROXY_E_SUCCESS on success, COMPANION_PROXY_E_INVALID_ARG when client or paired_devices is invalid, COMPANION_PROXY_E_UNSUPPORTED_KEY if the companion device doesn't support the given key, or a COMPANION_PROXY_E_* error code otherwise.