|
◆ companion_proxy_get_value_from_registry()
Returns a value for the given key.
- Parameters
-
client | The companion_proxy client |
companion_udid | UDID of the (paired) companion device |
key | The key to retrieve the value for |
value | A pointer to a plist_t that will receive the value for the given key. The consumer is responsible for freeing the value with plist_free() when no longer needed. |
- 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.
|