/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace Tizen.Pims.Calendar { /// /// This class provides enumerations about calendar information. /// /// 4 /// /// Most enumerations are based on vcalendar, icalendar(ver 2.0) specification. /// https://www.ietf.org/rfc/rfc2445.txt /// public static class CalendarTypes { /// /// Enumeration for Default book /// /// 4 public enum DefaultBook { /// /// Default event calendar book. /// /// 4 Event, /// /// Default Todo calendar book. /// /// 4 Todo, /// /// Default Birthday calendar book. /// /// 4 Birthday, } /// /// Enumeration for Store type /// /// 4 public enum StoreType { /// /// Book type /// /// 4 Book, /// /// Event type /// /// 4 Event, /// /// Todo type /// /// 4 Todo, } /// /// Enumeration for the book mode. /// /// 4 public enum BookMode { /// /// All modules can read and write records of this calendar_book /// /// 4 Default, /// /// All modules can only read records of this calendar book /// /// 4 ReadOnly, } /// /// Enumeration for the event status. /// /// 4 public enum EventStatus { /// /// No status /// /// 4 None = 0x01, /// /// The event is tentative /// /// 4 Tentative = 0x02, /// /// The event is confirmed /// /// 4 Confirmed = 0x04, /// /// The event is cancelled /// /// 4 Cancelled = 0x08, } /// /// Enumeration for for the status of a to-do. /// /// 4 public enum TodoStatus { /// /// No status /// /// 4 None = 0x0100, /// /// Needs action status /// /// 4 NeedAction = 0x0200, /// /// Completed status /// /// 4 Completed = 0x0400, /// /// Work in process status /// /// 4 InProcess = 0x0800, /// /// Cancelled status /// /// 4 Cancelled = 0x1000, } /// /// Enumeration for the busy status of an event. /// /// 4 public enum BusyStatus { /// /// The free status /// /// 4 Free, /// /// The busy status /// /// 4 Busy, /// /// The unavailable status /// /// 4 Unavailable, /// /// The tentative status /// /// 4 Tentative, } /// /// Enumeration for the calendar sensitivity type. /// /// 4 public enum Sensitivity { /// /// Public Sensitivity /// /// 4 Public, /// /// Private Sensitivity /// /// 4 Private, /// /// Confidential Sensitivity /// /// 4 Confidential, } /// /// Enumeration for the meeting status. /// /// 4 public enum MeetingStatus { /// /// No meeting /// /// 4 NoMeeting, /// /// Meeting exists /// /// 4 Meeting, /// /// Meeting received /// /// 4 Received, /// /// Meeting cancelled /// /// 4 Cancelled, } /// /// Enumeration for the calendar event item's priority /// /// 4 public enum Priority { /// /// No priority /// /// 4 None = 0x01, /// /// Low priority /// /// 4 High = 0x02, /// /// Normal priority /// /// 4 Normal = 0x04, /// /// High priority /// /// 4 Low = 0x08, } /// /// Enumeration for the frequency of an event's recurrence. /// /// 4 public enum Recurrence { /// /// No recurrence event /// /// 4 None, /// /// An event occurs every day /// /// 4 Daily, /// /// An event occurs on the same day of every week. According to the week flag, the event will recur every day of the week /// /// 4 Weekly, /// /// An event occurs on the same day of every month /// /// 4 Monthly, /// /// An event occurs on the same day of every year /// /// 4 Yearly, } /// /// Enumeration for the range type. /// /// 4 public enum RangeType { /// /// Range until /// /// 4 Until, /// /// Range count /// /// 4 Count, /// /// No range /// /// 4 None, } /// /// Enumeration for the system type. /// /// 4 public enum SystemType { /// /// Locale's default calendar /// /// 4 Default, /// /// Locale's default calendar /// /// 4 Gregorian, /// /// East Asian lunisolar calendar /// /// 4 Lunisolar, } /// /// Enumeration for the alarm time unit type of an event, such as minutes, hours, days, and so on. /// /// 4 public enum TickUnit { /// /// No reminder set /// /// 4 None = -1, /// /// Specific in seconds /// /// 4 Specific = 1, /// /// Alarm time unit in minutes /// /// 4 Minute = 60, /// /// Alarm time unit in hours /// /// 4 Hour = 3600, /// /// Alarm time unit in days /// /// 4 Day = 86400, /// /// Alarm time unit in weeks /// /// 4 Week = 604800, } /// /// Enumeration for weekdays. /// /// 4 public enum WeekDay { /// /// Sunday /// /// 4 Sunday = 1, /// /// Monday /// /// 4 Monday, /// /// Tuesday /// /// 4 Tuesday, /// /// Wednesday /// /// 4 Wednesday, /// /// Thursday /// /// 4 Thursday, /// /// Friday /// /// 4 Friday, /// /// Saturday /// /// 4 Saturday, } /// /// Enumeration to specify the type of calendar user specified by the property. /// /// 4 public enum Cutype { /// /// An individual /// /// 4 Individual, /// /// A group of individuals /// /// 4 Group, /// /// A physical resource /// /// 4 Resource, /// /// A room resource /// /// 4 Room, /// /// Otherwise not known /// /// 4 Unknown, } /// /// Enumeration for the attendee role. /// /// 4 public enum AttendeeRole { /// /// Participation is required /// /// 4 ReqParticipant, /// /// Accepted status /// /// 4 OptParticipant, /// /// Non-Participant /// /// 4 NonParticipant, /// /// Chairperson /// /// 4 Chair, } /// /// Enumeration for the attendee status. /// /// 4 public enum AttendeeStatus { /// /// Pending status /// /// 4 Pending, /// /// Accepted status /// /// 4 Accepted, /// /// Declined status /// /// 4 Declined, /// /// Tentative status /// /// 4 Tentative, /// /// Delegated status /// /// 4 Delegated, /// /// Completed status /// /// 4 Completed, /// /// In process status /// /// 4 InProcess, } /// /// Enumeration for the alarm action. /// /// 4 public enum Action { /// /// Audio action /// /// 4 Audio, /// /// Display action /// /// 4 Display, /// /// Email action /// /// 4 Email, } } }