libimobiledevice  1.4.0
API Documentation - Return to Homepage

◆ afc_get_device_info_plist()

afc_error_t afc_get_device_info_plist ( afc_client_t client,
plist_t * 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 pointer to a plist_t that will be populated with key-value pairs (dictionary) representing the device’s storage and model information. Free with plist_free().
Returns
AFC_E_SUCCESS on success or an AFC_E_* error value.