Calculates and returns the data classes the device supports from lockdownd.
- Parameters
-
client | An initialized lockdownd client. |
classes | A pointer to store an array of class names. The caller is responsible for freeing the memory which can be done using mobilesync_data_classes_free(). |
count | The number of items in the classes array. |
- Returns
- LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG when client is NULL, LOCKDOWN_E_NO_RUNNING_SESSION if no session is open, LOCKDOWN_E_PLIST_ERROR if the received plist is broken