create

fun create(account: Account, provider: ContentProviderClient, info: ContentValues): Uri

Creates a local (Android calendar provider) calendar.

Return

Uri of the created calendar

Parameters

account

account which the calendar should be assigned to

provider

client for Android calendar provider

info

initial calendar properties (Calendars.CALENDAR_DISPLAY_NAME etc.) – may be modified by this method

Throws

if the calendar couldn't be created