libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ companion_proxy_get_device_registry()

companion_proxy_error_t companion_proxy_get_device_registry ( companion_proxy_client_t  client,
plist_t *  paired_devices 
)

Retrieves a list of paired devices.

Parameters
clientThe companion_proxy client
devicesPoint that will receive a PLIST_ARRAY with paired device UDIDs
Note
The device closes the connection after sending the reply.
Returns
COMPANION_PROXY_E_SUCCESS on success, COMPANION_PROXY_E_NO_DEVICES if no devices are paired, or a COMPANION_PROXY_E_* error code otherwise.