libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ idevice_get_device_list()

idevice_error_t idevice_get_device_list ( char ***  devices,
int *  count 
)

Get a list of UDIDs of currently available devices (USBMUX devices only).

Parameters
devicesList of UDIDs of devices that are currently available. This list is terminated by a NULL pointer.
countNumber of devices found.
Returns
IDEVICE_E_SUCCESS on success or an error value when an error occurred.
Note
This function only returns the UDIDs of USBMUX devices. To also include network devices in the list, use idevice_get_device_list_extended().
See also
idevice_get_device_list_extended