create_object


Description:

public async bool create_object (Component icalcomp, OperationFlags opflags, Cancellable? cancellable, out string? out_uid) throws Error

Requests the calendar backend to create the object specified by the icalcomp argument.

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

Parameters:

this

an Client

icalcomp

The component 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