insert_calendar_event_async


Description:

[ Version ( since = "0.17.2" ) ]
public async void insert_calendar_event_async (CalendarCalendar calendar, CalendarEvent event, Cancellable? cancellable)

Inserts event by uploading it to the online calendar service, adding it to the specified calendar.

this and event are both reffed when this function is called, so can safely be unreffed after this function returns.

callback should call insert_entry_async.end to obtain a CalendarEvent representing the inserted event and to check for possible errors.

For more details, see gdata_calendar_service_insert_event, which is the synchronous version of this function, and insert_entry_async, which is the base asynchronous insertion function.

Parameters:

this

a CalendarService

calendar

the CalendarCalendar to insert the event into

event

the CalendarEvent to insert

cancellable

optional Cancellable object, or null

callback

a TaskReadyCallback to call when insertion is finished

user_data

data to pass to the callback function




2022 vala-language.org