getCalendarService()

Use this factory function to get an instance of CalendarService.

Syntax 

1import { getCalendarService } from 'lightning/mobileCapabilities';
2getCalendarService(): CalendarService

Parameters 

None.

Returns 

An instance of CalendarService.

Usage 

There are no parameters or options when creating an instance. Use the instance to perform calendar-related operations.