libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ sbservices_get_icon_state()

sbservices_error_t sbservices_get_icon_state ( sbservices_client_t  client,
plist_t *  state,
const char *  format_version 
)

Gets the icon state of the connected device.

Parameters
clientThe connected sbservices client to use.
statePointer that will point to a newly allocated plist containing the current icon state. It is up to the caller to free the memory.
format_versionA string to be passed as formatVersion along with the request, or NULL if no formatVersion should be passed. This is only supported since iOS 4.0 so for older firmware versions this must be set to NULL.
Returns
SBSERVICES_E_SUCCESS on success, SBSERVICES_E_INVALID_ARG when client or state is invalid, or an SBSERVICES_E_* error code otherwise.