libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilesync_receive_changes()

mobilesync_error_t mobilesync_receive_changes ( mobilesync_client_t  client,
plist_t *  entities,
uint8_t *  is_last_record,
plist_t *  actions 
)

Receives changed entitites of the currently set data class from the device.

Parameters
clientThe mobilesync client
entitiesA pointer to store the changed entity records as a PLIST_DICT
is_last_recordA pointer to store a flag indicating if this submission is the last one
actionsA pointer to additional flags the device is sending or NULL to ignore
Return values
MOBILESYNC_E_SUCCESSon success
MOBILESYNC_E_INVALID_ARGif one of the parameters is invalid
MOBILESYNC_E_CANCELLEDif the device explicitly cancelled the session