Adds an event to the device’s calendar.
Eventobject to be added to the device’s calendar.
CalendarServiceOptionsobject to configure the CalendarService request.
A Promise object that resolves as a coerced version of the
Event parameter. If an error is encountered, an error message is returned.
Use this function to add an event to a device’s calendar.
For more information on when and why CalendarService coerces (changes) event data, see Implicit Data Coercion.