Project: titanium
Issue TIMOB-18917: Windows: Implement Ti.Calendar top-level module
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 h2. 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. h2. 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. ... h2. Events - change Fired when the database backing the EventKit module is modified. ...
Story points: 13