Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18917] Windows: Implement Ti.Calendar top-level module

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionWon't Do
Resolution Date2020-06-30T14:43:22.000+0000
Affected Version/sRelease 8.0.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeChristopher Williams
Created2015-05-19T17:20:20.000+0000
Updated2020-06-30T14:43:22.000+0000

Description

http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Calendar https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn631243.aspx https://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.appointments.aspx

Constants

- AUTHORIZATION_AUTHORIZED : Number READONLY - AUTHORIZATION_DENIED : Number READONLY - AUTHORIZATION_RESTRICTED : Number READONLY - AUTHORIZATION_UNKNOWN : Number READONLY - AVAILABILITY_BUSY : Number READONLY - AVAILABILITY_FREE : Number READONLY - AVAILABILITY_NOTSUPPORTED : Number READONLY - AVAILABILITY_TENTATIVE : Number READONLY - AVAILABILITY_UNAVAILABLE : Number READONLY - METHOD_ALERT : Number READONLY - METHOD_DEFAULT : Number READONLY - METHOD_EMAIL : Number READONLY - METHOD_SMS : Number READONLY - RECURRENCEFREQUENCY_DAILY : Number READONLY - RECURRENCEFREQUENCY_MONTHLY : Number READONLY - RECURRENCEFREQUENCY_WEEKLY : Number READONLY - RECURRENCEFREQUENCY_YEARLY : Number READONLY - SPAN_FUTUREEVENTS : Number READONLY - SPAN_THISEVENT : Number READONLY - STATE_DISMISSED : Number READONLY - STATE_FIRED : Number READONLY - STATE_SCHEDULED : Number READONLY - STATUS_CANCELED : Number READONLY - STATUS_CONFIRMED : Number READONLY - STATUS_NONE : Number READONLY - STATUS_TENTATIVE : Number READONLY - VISIBILITY_CONFIDENTIAL : Number READONLY - VISIBILITY_DEFAULT : Number READONLY - VISIBILITY_PRIVATE : Number READONLY - VISIBILITY_PUBLIC : Number READONLY h2. Properties - allAlerts : Titanium.Calendar.Alert[] READONLY All alerts in selected calendars. - allCalendars : Titanium.Calendar.Calendar[] READONLY All calendars known to the native calendar app. - allEditableCalendars : Titanium.Calendar.Calendar[] READONLY All calendars known to the native calendar app that can add, edit, and delete items in the calendar. - defaultCalendar : Titanium.Calendar.Calendar READONLY Calendar that events are added to by default, as specified by user settings. - eventsAuthorization : Number READONLY Returns an authorization constant indicating if the application has access to the events in the EventKit. - selectableCalendars : Titanium.Calendar.Calendar[] READONLY All calendars selected within the native calendar app, which may be a subset of allCalendars.

Methods

- getCalendarById( id ) : Titanium.Calendar.Calendar Gets the calendar with the specified identifier. ... - requestEventsAuthorization( callback ) If authorization is unknown, will bring up a dialog requesting permission. ...

Events

- change Fired when the database backing the EventKit module is modified. ...

Comments

  1. Kota Iguchi 2019-06-17

    We might be able to use Appointments API to deal with appointments in user's calendar app. https://docs.microsoft.com/en-us/windows/uwp/contacts-and-calendar/managing-appointments
  2. Kota Iguchi 2019-07-25

    https://github.com/appcelerator/titanium_mobile_windows/pull/1403

JSON Source