add

fun add(): Uri

Saves an unsaved event into the calendar storage.

Return

content URI of the created event

Throws

when the calendar provider doesn't return a result row

on calendar provider errors