insert_event


Description:

[ Version ( deprecated = true , deprecated_since = "0.17.2" , since = "0.2.0" ) ]
public CalendarEvent insert_event (CalendarEvent event, Cancellable? cancellable = null) throws Error

Warning: insert_event is deprecated since 0.17.2.

Inserts event by uploading it to the online calendar service.

Note:

Use insert_calendar_event instead to be able to specify the calendar to add the event to; otherwise the default calendar will be used.

For more details, see insert_entry.

Parameters:

this

a CalendarService

event

the CalendarEvent to insert

cancellable

optional Cancellable object, or null

Returns:

an updated CalendarEvent, or null; unref with unref