create_objects


Description:

[ Version ( since = "3.6" ) ]
public async bool create_objects (SList<Component> icalcomps, OperationFlags opflags, Cancellable? cancellable, out SList<string> out_uids) throws Error

Requests the calendar backend to create the objects specified by the icalcomps argument.

Some backends would assign a specific UID to the newly created object, but this function does not modify the original icalcomps if their UID changes. The call is finished by create_objects.end from the callback.

Parameters:

this

an Client

icalcomps

The components to create

opflags

bit-or of OperationFlags

cancellable

a Cancellable; can be null

callback

callback to call when a result is ready

user_data

user data for the callback