isAvailable()

Use this function to determine whether CalendarService functionality is available.

None.

Returns true when used on a supported device, and false otherwise.

Use this function to disable or hide calendar-related features on platforms where calendars aren’t supported. For example: