libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ mobilesync_send_changes()

mobilesync_error_t mobilesync_send_changes ( mobilesync_client_t  client,
plist_t  entities,
uint8_t  is_last_record,
plist_t  actions 
)

Sends changed entities of the currently set data class to the device.

Parameters
clientThe mobilesync client
entitiesThe changed entity records as a PLIST_DICT
is_last_recordA flag indicating if this submission is the last one
actionsAdditional actions for the device created with mobilesync_actions_new() or NULL if no actions should be passed
Return values
MOBILESYNC_E_SUCCESSon success
MOBILESYNC_E_INVALID_ARGif one of the parameters is invalid,
MOBILESYNC_E_WRONG_DIRECTIONif the current sync direction does not permit this call