mkcalendar_sync


Description:

public bool mkcalendar_sync (string uri, string? display_name, string? description, string? color, uint32 supports, Cancellable? cancellable = null) throws Error

Creates a new calendar collection identified by uri on the server.

The supports defines what component types can be stored into the created calendar collection. Only NONE and values related to iCalendar content can be used here. Using NONE means that everything is supported.

Note that CalDAV RFC 4791 Section 4.2 forbids to create calendar resources under other calendar resources (no nested calendars are allowed).

Parameters:

this

an WebDAVSession

uri

URI of the collection to create

display_name

a human-readable display name to set, or null

description

a human-readable description of the calendar, or null

color

a color to set, in format "#RRGGBB", or null

supports

a bit-or of EWebDAVResourceSupports values

cancellable

optional Cancellable object, or null

Returns:

Whether succeeded.