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).
this | |
uri |
URI of the collection to create |
display_name |
a human-readable display name to set, or |
description |
a human-readable description of the calendar, or |
color |
a color to set, in format "#RRGGBB", or |
supports |
a bit-or of EWebDAVResourceSupports values |
cancellable |
optional Cancellable object, or |
Whether succeeded. |