The Calendar service enables Python applications to access, create, and manage calendars and their entries stored on a device.
The following sample code is used to load the provider:
import scriptext calendar_handle = scriptext.load('Service.Calendar', 'IDataSource')
The following table summarizes the Calendar Interface:
Service provider | Service.Calendar |
Supported interfaces | IDataSource |
The following table lists the services available in Calendar:
Services | Description |
GetList 6.3.1 |
Retrieves a list of available calendars or a list of calendar entries. |
Add 6.3.2 |
Adds a new calendar in the device or a new entry in the specified calendar file. |
Delete 6.3.3 |
Deletes a specific calendar from the device or, one or more entries / instances from a specific calendar file. |
Import 6.3.4 |
Imports calendar entries from an input file. |
Export 6.3.5 |
Exports calendar entries to an output file. |
RequestNotification 6.3.6 |
Notifies when add, delete, or modify operation is performed on the entries in the calendar store. |