libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ afc_get_device_info()

afc_error_t afc_get_device_info ( afc_client_t  client,
char ***  device_information 
)

Get device information for a connected client.

The device information returned is the device model as well as the free space, the total capacity and blocksize on the accessed disk partition.

Parameters
clientThe client to get device info for.
device_informationA char list of device information terminated by an empty string or NULL if there was an error. Free with afc_dictionary_free().
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.