Prefix:4.0.0
-Suffix:preview1-00101
-Number:101
-VCS:dd4e511789666bda99587fc1ab49ec773c35136b
+Suffix:preview1-00107
+Number:107
+VCS:e2fe82f9ef4f40d1f09ab0a6da27f07f8904ecbd
If not, it sets the format string for the units label's text.
The units label is provided with a floating point value, so the units text displays at most one floating point value.
Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- The default format string for a progress bar is an integer percentage, as in "%.0f %%".
</remarks>
</member>
<member name="M:ElmSharp.ProgressBar.PlayPulse">
</member>
<member name="F:Tizen.Applications.WidgetBase.WidgetDestroyType.Temporary">
<summary>
- Widget is deleted because of other reasons. (For e.g., widget process is terminated temporarily by the system)
+ Widget is deleted because of other reasons. (For example, widget process is terminated temporarily by the system)
</summary>
</member>
<member name="M:Tizen.Applications.WidgetBase.#ctor">
CalendarDatabase provides methods to manage calendar information from/to the database.
</summary>
<remarks>
- This class allows usre to access/create/update db operations for calendar information.
+ This class allows user to access/create/update db operations for calendar information.
</remarks>
</member>
- <member name="T:Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChangedDelegate">
+ <member name="T:Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChanged">
<summary>
Delegete for detecting the calendar database changes.
</summary>
The delegate must be registered using AddDBChangedDelegate.
It's invoked when the designated view changes.
</remarks>
- <see cref="M:Tizen.Pims.Calendar.CalendarDatabase.AddDBChangedDelegate(System.String,Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChangedDelegate)"/>
</member>
<member name="P:Tizen.Pims.Calendar.CalendarDatabase.Version">
<summary>
The calendar database version.
</summary>
+ <value>The current calendar database version.</value>
</member>
<member name="P:Tizen.Pims.Calendar.CalendarDatabase.LastChangeVersion">
<summary>
<exception cref="T:System.InvalidOperationException">Thrown when method failed due to invalid operation</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
<exception cref="T:System.UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ <value>The last successful changed calendar database version on the current connection.</value>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarDatabase.Insert(Tizen.Pims.Calendar.CalendarRecord)">
<summary>
</returns>
<privilege>http://tizen.org/privilege/calendar.read</privilege>
</member>
- <member name="M:Tizen.Pims.Calendar.CalendarDatabase.AddDBChangedDelegate(System.String,Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChangedDelegate)">
+ <member name="M:Tizen.Pims.Calendar.CalendarDatabase.AddDBChangedDelegate(System.String,Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChanged)">
<summary>
Registers a callback function to be invoked when a record changes.
</summary>
<param name="callback">The callback function to register</param>
<privilege>http://tizen.org/privilege/calendar.read</privilege>
</member>
- <member name="M:Tizen.Pims.Calendar.CalendarDatabase.RemoveDBChangedDelegate(System.String,Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChangedDelegate)">
+ <member name="M:Tizen.Pims.Calendar.CalendarDatabase.RemoveDBChangedDelegate(System.String,Tizen.Pims.Calendar.CalendarDatabase.CalendarDBChanged)">
<summary>
- Unregisters a callback function.
+ Deregisters a callback function.
</summary>
<param name="viewUri">The view URI of the record to subscribe for change notifications</param>
<param name="callback">The callback function to register</param>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarFilter.Finalize">
+ <summary>
+ Destroy filter.
+ </summary>
+ </member>
<member name="T:Tizen.Pims.Calendar.CalendarFilter.StringMatchType">
<summary>
Enumeration for the filter match type of a string.
Full string, case-sensitive
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.Fullstring">
+ <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.FullString">
<summary>
Full string, case-insensitive
</summary>
Sub string, case-insensitive
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.Startswith">
+ <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.StartsWith">
<summary>
Start with, case-insensitive
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.Endswith">
+ <member name="F:Tizen.Pims.Calendar.CalendarFilter.StringMatchType.EndsWith">
<summary>
End with, case-insensitive
</summary>
OR
</summary>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarFilter.Dispose(System.Boolean)">
+ <summary>
+ Dispose
+ </summary>
+ </member>
<member name="M:Tizen.Pims.Calendar.CalendarFilter.Dispose">
<summary>
Releases all resources used by the CalendarFilter.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarFilter.AddCondition(Tizen.Pims.Calendar.CalendarFilter.LogicalOperator,System.UInt32,Tizen.Pims.Calendar.CalendarFilter.StringMatchType,System.String)">
<param name="logicalOperator">The operator type</param>
<param name="propertyId">The property ID to add a condition</param>
<param name="matchType">The match flag</param>
- <param name="matchValue">The match valu</param>
+ <param name="matchValue">The match value</param>
<exception cref="T:System.NotSupportedException">Thrown when an invoked method is not supported</exception>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
</member>
<param name="logicalOperator">The operator type</param>
<param name="propertyId">The property ID to add a condition</param>
<param name="matchType">The match flag</param>
- <param name="matchValue">The match valu</param>
+ <param name="matchValue">The match value</param>
<exception cref="T:System.NotSupportedException">Thrown when an invoked method is not supported</exception>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
</member>
<param name="logicalOperator">The operator type</param>
<param name="propertyId">The property ID to add a condition</param>
<param name="matchType">The match flag</param>
- <param name="matchValue">The match valu</param>
+ <param name="matchValue">The match value</param>
<exception cref="T:System.NotSupportedException">Thrown when an invoked method is not supported</exception>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
</member>
<param name="logicalOperator">The operator type</param>
<param name="propertyId">The property ID to add a condition</param>
<param name="matchType">The match flag</param>
- <param name="matchValue">The match valu</param>
+ <param name="matchValue">The match value</param>
<exception cref="T:System.NotSupportedException">Thrown when an invoked method is not supported</exception>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
</member>
<param name="logicalOperator">The operator type</param>
<param name="propertyId">The property ID to add a condition</param>
<param name="matchType">The match flag</param>
- <param name="matchValue">The match valu</param>
+ <param name="matchValue">The match value</param>
<exception cref="T:System.NotSupportedException">Thrown when an invoked method is not supported</exception>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
</member>
<summary>
The count of the calendar entity.
</summary>
+ <value>The count of calendar entity.</value>
+ </member>
+ <member name="M:Tizen.Pims.Calendar.CalendarList.Finalize">
+ <summary>
+ Destory CalendarList resource.
+ </summary>
+ </member>
+ <member name="M:Tizen.Pims.Calendar.CalendarList.Dispose(System.Boolean)">
+ <summary>
+ Disposes of the resources (other than memory) used by the CalendarList.
+ </summary>
+ <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarList.Dispose">
<summary>
Releases all resources used by the CalendarList.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarList.AddRecord(Tizen.Pims.Calendar.CalendarRecord)">
</summary>
<exception cref="T:System.InvalidOperationException">Thrown when method failed due to invalid operation</exception>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarManager.Finalize">
+ <summary>
+ Destory CalendarManager resource.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarManager.disposedValue">
To detect redundant calls
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarManager.Dispose(System.Boolean)">
+ <summary>
+ Disposes of the resources (other than memory) used by the CalendarManager.
+ </summary>
+ <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
+ </member>
<member name="M:Tizen.Pims.Calendar.CalendarManager.Dispose">
<summary>
Releases all resources used by the CalendarManager.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="P:Tizen.Pims.Calendar.CalendarManager.Database">
<summary>
Get database.
</summary>
+ <value>The database instance</value>
+ </member>
+ <member name="T:Tizen.Pims.Calendar.CalendarQuery">
+ <summary>
+ A query is used to retrieve data which satisfies given criteria.
+ </summary>
+ <remarks>
+ A query is used to retrieve calendar data which satisfies a given criteria,
+ such as an integer property being greater than a given value,
+ or a string property containing a given substring.
+ A query needs a filter which can set the conditions for the search.
+ </remarks>
</member>
- <!-- Badly formed XML comment ignored for member "T:Tizen.Pims.Calendar.CalendarQuery" -->
<member name="M:Tizen.Pims.Calendar.CalendarQuery.#ctor(System.String)">
<summary>
Creates a query.
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarQuery.Finalize">
+ <summary>
+ Destructor
+ </summary>
+ </member>
+ <member name="M:Tizen.Pims.Calendar.CalendarQuery.Dispose(System.Boolean)">
+ <summary>
+ Disposes of the resources (other than memory) used by the CalendarQuery.
+ </summary>
+ <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
+ </member>
<member name="M:Tizen.Pims.Calendar.CalendarQuery.Dispose">
<summary>
Releases all resources used by the CalendarQuery.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarQuery.SetProjection(System.UInt32[])">
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarRecord.Finalize">
+ <summary>
+ Destructor
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarRecord._disposedValue">
To detect redundant calls
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarRecord.Dispose(System.Boolean)">
+ <summary>
+ Disposes of the resources (other than memory) used by the CalendarRecord.
+ </summary>
+ <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
+ </member>
<member name="M:Tizen.Pims.Calendar.CalendarRecord.Dispose">
<summary>
Releases all resources used by the CalendarRecord.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarRecord.Clone">
</member>
<member name="P:Tizen.Pims.Calendar.CalendarRecord.Uri">
<summary>
- The URI of the record
+ Get record URI.
</summary>
+ <value>The URI of the record</value>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarRecord.Get``1(System.UInt32)">
<summary>
The client who wants to be alerted at specific time should register MIME("application/x-tizen.calendar.reminder") type in manifest.xml file.
</remarks>
</member>
+ <member name="M:Tizen.Pims.Calendar.CalendarReminder.Dispose(System.Boolean)">
+ <summary>
+ Disposes of the resources (other than memory) used by the CalendarReminder.
+ </summary>
+ <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
+ </member>
<member name="M:Tizen.Pims.Calendar.CalendarReminder.Dispose">
<summary>
Releases all resources used by the CalendarReminder.
- It should be called after finished using of the object.
+ It should be called after having finished using of the object.
</summary>
</member>
<member name="E:Tizen.Pims.Calendar.CalendarReminder.ReminderAlerted">
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTime">
<summary>
- A class for time to set, get or calcurate.
+ A class for time to set, get or calculate.
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTime.Type">
</member>
<member name="P:Tizen.Pims.Calendar.CalendarTime.UtcTime">
<summary>
- Get utcTime
+ Get UtcTime
</summary>
+ <value>The Utc time</value>
</member>
<member name="P:Tizen.Pims.Calendar.CalendarTime.LocalTime">
<summary>
Get localTime
</summary>
+ <value>The localtime</value>
</member>
<member name="M:Tizen.Pims.Calendar.CalendarTime.CompareTo(Tizen.Pims.Calendar.CalendarTime)">
<summary>
Compare CalendarTime
</summary>
- <param name="t">The CalendarTime to be compared</param>
+ <param name="other">The CalendarTime to be compared</param>
<returns>
A 32-bit signed integer that indicates the relative order of the objects being compared.
</returns>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes">
<summary>
+ This class provides enumurations about calendar inforamtion.
</summary>
+ <remarks>
+ Most enumurations are based on vcalendar, icalendar(ver 2.0) specification.
+ https://www.ietf.org/rfc/rfc2445.txt
+ </remarks>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.DefaultBook">
<summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarTypes.EventStatus.Cancelled">
<summary>
- The event is canceled
+ The event is cancelled
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.TodoStatus">
Work in process status
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.TodoStatus.Canceled">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.TodoStatus.Cancelled">
<summary>
- Canceled status
+ Cancelled status
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.BusyStatus">
Enumeration for the meeting status.
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.MeetingStatus.Notmeeting">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.MeetingStatus.NoMeeting">
<summary>
No meeting
</summary>
Meeting received
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.MeetingStatus.Canceled">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.MeetingStatus.Cancelled">
<summary>
- Meeting canceled
+ Meeting cancelled
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.Priority">
Monday
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Thuesday">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Tuesday">
<summary>
Tuesday
</summary>
Wednesday
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Thurday">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Thursday">
<summary>
Thursday
</summary>
Friday
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Saterday">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.WeekDay.Saturday">
<summary>
Saturday
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.Cutype">
<summary>
- Enumeration for the attendee cutype.
+ Enumeration to specify the type of calendar user specified by the property.
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Individual">
<summary>
- Individual cutype
+ An individual
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Group">
<summary>
- Group cutype
+ A group of individuals
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Recource">
+ <member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Resource">
<summary>
- Resource cutype
+ A physical resource
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Room">
<summary>
- Room cutype
+ A room resource
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarTypes.Cutype.Unknown">
<summary>
- Unknown cutype
+ Otherwise not known
</summary>
</member>
<member name="T:Tizen.Pims.Calendar.CalendarTypes.AttendeeRole">
Email action
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.ParseCallback">
+ <summary>
+ Parsing vcalendar file callback function.
+ </summary>
+ <param name="record">The record</param>
+ </member>
<member name="T:Tizen.Pims.Calendar.CalendarVcalendar">
<summary>
A class for parsing and composing vCalendar.
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
</member>
- <member name="M:Tizen.Pims.Calendar.CalendarVcalendar.ParseForEach(System.String,Tizen.Pims.Calendar.CalendarVcalendar.ParseDelegate)">
+ <member name="M:Tizen.Pims.Calendar.CalendarVcalendar.ParseForEach(System.String,Tizen.Pims.Calendar.ParseCallback)">
<summary>
Parse vcalendar file with foreach
</summary>
<exception cref="T:System.ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
<exception cref="T:System.OutOfMemoryException">Thrown when failed due to out of memory</exception>
</member>
- <member name="T:Tizen.Pims.Calendar.CalendarViews">
- <summary>
- This class provides information about views with properties.
- </summary>
- <remarks>
- A view is a class which describes properties of a record.
- A record can have basic properties of five types: integer, string, long, double, CalendarTime.
- </remarks>
- </member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.ViewMask">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.Mask">
data type mask 0x0FF00000
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.PropertyMask">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.PropertyMask">
property : mask 0x0000F000
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.PropertyIds.BookId">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.Id.BookId">
book
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.PropertyIds.EventId">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.Id.EventId">
Event
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.PropertyIds.TodoId">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.Id.TodoId">
Todo
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.PropertyIds.TimezoneId">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Property.Id.TimezoneId">
Timezone
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.AverageSizeOfRecord">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Record.AverageSize">
average size
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Book">
+ <summary>
+ Describes properies of a Book record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Book.Uri">
<summary>
Identifier of this calendar book view
Calendar book mode(refer to the CalendarTypes.BookMode)
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Event">
+ <summary>
+ Describes properies of a Event record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Event.Uri">
<summary>
Identifier of this event view
The event is an base linked event
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Todo">
+ <summary>
+ Describes properies of a Todo record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Todo.Uri">
<summary>
Identifier of this todo view
The count of the todo recurrence. Only if this is used with RangeType.Count.
</summary>
</member>
- <member name="F:Tizen.Pims.Calendar.CalendarViews.Todo.Integererval">
+ <member name="F:Tizen.Pims.Calendar.CalendarViews.Todo.Interval">
<summary>
The interval of the todo recurrence
</summary>
The todo is an allday event or not
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Timezone">
+ <summary>
+ Describes properies of a Timezone record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Timezone.Uri">
<summary>
Identifier of this timezone view
DB record ID of a related calendar book
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Attendee">
+ <summary>
+ Describes properies of a Attendee record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Attendee.Uri">
<summary>
Identifier of this calendar attendee view
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Attendee.CtIndex">
- <summary>
-
- </summary>
+ <summary>
+ CtIndex
+ </summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Attendee.Uid">
<summary>
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Attendee.Group">
- <summary>
-
- </summary>
+ <summary>
+ Group
+ </summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Attendee.Email">
<summary>
Event/TODO that the attendee belongs to
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Alarm">
+ <summary>
+ Describes properies of a Alarm record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Alarm.Uri">
<summary>
Identifier of this calendar alarm view
The alarm time
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.InstanceUtimeBook">
+ <summary>
+ Describes properies of a InstanceUtimeBook record.
+ </summary>
+ <remarks>Read only view</remarks>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceUtimeBook.Uri">
<summary>
Identifier of this instance utime book
SyncData1
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBook">
+ <summary>
+ Describes properies of a InstanceLocaltimeBook record.
+ </summary>
+ <remarks>Read only view</remarks>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBook.Uri">
<summary>
Uri
IsAllday
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.InstanceUtimeBookExtended">
+ <summary>
+ Describes properies of a InstanceUtimeBookExtended record.
+ </summary>
+ <remarks>Read only view</remarks>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceUtimeBookExtended.Uri">
<summary>
Uri
SyncData4
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBookExtended">
+ <summary>
+ Describes properies of a InstanceLocaltimeBookExtended record.
+ </summary>
+ <remarks>Read only view</remarks>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBookExtended.Uri">
<summary>
Uri
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBookExtended.Description">
<summary>
+ Description
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBookExtended.BusyStatus">
<summary>
+ BusyStatus
</summary>
</member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.InstanceLocaltimeBookExtended.EventStatus">
IsAllday
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.UpdatedInfo">
+ <summary>
+ Describes properies of a UpdatedInfo record.
+ </summary>
+ <remarks>Read only view</remarks>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.UpdatedInfo.Uri">
<summary>
Identifier of this updatedInfo view
Version after change
</summary>
</member>
+ <member name="T:Tizen.Pims.Calendar.CalendarViews.Extended">
+ <summary>
+ Describes properies of a Extended record.
+ </summary>
+ </member>
<member name="F:Tizen.Pims.Calendar.CalendarViews.Extended.Uri">
<summary>
Identifier of this extended_property view
</member>
<member name="F:Tizen.System.BatteryLevelStatus.Full">
<summary>
- The battery status is full.
+ The battery status is fully charged.
+ It means no more charge.
</summary>
<since_tizen> 3 </since_tizen>
</member>
Name: csapi-tizenfx
Summary: Assemblies of Tizen .NET
-Version: 4.0.0.101
+Version: 4.0.0.107
Release: 1
Group: Development/Libraries
License: Apache-2.0
BuildRequires: dotnet-build-tools
BuildArch: noarch
-ExcludeArch: aarch64
AutoReqProv: no
%description
/// If not, it sets the format string for the units label's text.
/// The units label is provided with a floating point value, so the units text displays at most one floating point value.
/// Note that the units label is optional. Use a format string such as "%1.2f meters" for example.
- /// The default format string for a progress bar is an integer percentage, as in "%.0f %%".
/// </remarks>
public string UnitFormat
{
if (style.HiddenByTimeoutAction != null)
{
- Interop.Notification.SetExtensionAction(notification.Handle, NotificationEventType.HiddenByTimeout, style.HiddenByUserAction.SafeAppControlHandle);
+ Interop.Notification.SetExtensionAction(notification.Handle, NotificationEventType.HiddenByTimeout, style.HiddenByTimeoutAction.SafeAppControlHandle);
}
if (style.HiddenByExternalAction != null)
{
- Interop.Notification.SetExtensionAction(notification.Handle, NotificationEventType.HiddenByExternal, style.HiddenByUserAction.SafeAppControlHandle);
+ Interop.Notification.SetExtensionAction(notification.Handle, NotificationEventType.HiddenByExternal, style.HiddenByExternalAction.SafeAppControlHandle);
}
}
Permanent = 0,
/// <summary>
- /// Widget is deleted because of other reasons. (For e.g., widget process is terminated temporarily by the system)
+ /// Widget is deleted because of other reasons. (For example, widget process is terminated temporarily by the system)
/// </summary>
Temporary
}
internal static extern PlayerErrorCode SetUri(IntPtr player, string uri);
[DllImport(Libraries.Player, EntryPoint = "player_set_display")]
- internal static extern PlayerErrorCode SetDisplay(IntPtr player, DisplayType type, IntPtr display);
+ internal static extern PlayerErrorCode SetDisplay(IntPtr player, PlayerDisplayType type, IntPtr display);
[DllImport(Libraries.Player, EntryPoint = "player_start")]
internal static extern PlayerErrorCode Start(IntPtr player);
if (display == null)
{
Log.Info(PlayerLog.Tag, "set display to none");
- return NativePlayer.SetDisplay(Handle, DisplayType.None, IntPtr.Zero);
+ return NativePlayer.SetDisplay(Handle, PlayerDisplayType.None, IntPtr.Zero);
}
return display.ApplyTo(this);
Debug.Assert(IsDisposed == false);
Debug.Assert(Enum.IsDefined(typeof(DisplayType), type));
+ Debug.Assert(type != DisplayType.None);
- return NativePlayer.SetDisplay(Handle, type, evasObject);
+ return NativePlayer.SetDisplay(Handle,
+ type == DisplayType.Overlay ? PlayerDisplayType.Overlay : PlayerDisplayType.Evas, evasObject);
}
#endregion
--- /dev/null
+/*
+ * 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.Multimedia
+{
+ internal enum PlayerDisplayType
+ {
+ Overlay,
+ Evas = 3,
+ None = 4,
+ }
+}
\ No newline at end of file
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Database
{
- internal static partial class Database
- {
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate void DBChangedCallback(string uri, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_record")]
internal static extern int Insert(IntPtr recordHandle, out int recordId);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_record")]
internal static extern int Get(string uri, int recordId, out IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_update_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_update_record")]
internal static extern int Update(IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_delete_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_delete_record")]
internal static extern int Delete(string uri, int recordId);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_all_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_all_records")]
internal static extern int GetAllRecords(string uri, int offset, int limit, out IntPtr recordListHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_records_with_query")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_records_with_query")]
internal static extern int GetRecords(IntPtr queryHandle, int offset, int limit, out IntPtr recordListHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_count")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_count")]
internal static extern int GetCount(string uri, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_count_with_query")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_count_with_query")]
internal static extern int GetCountWithQuery(IntPtr queryHandle, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_records")]
internal static extern int InsertRecords(IntPtr recordListHandle, out IntPtr recordIds, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_update_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_update_records")]
internal static extern int UpdateRecords(IntPtr recordListHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_delete_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_delete_records")]
internal static extern int DeleteRecords(string uri, int[] ids, int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_current_version")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_current_version")]
internal static extern int GetCurrentVersion(out int version);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_add_changed_cb")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_add_changed_cb")]
internal static extern int AddChangedCallback(string uri, DBChangedCallback callback, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_remove_changed_cb")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_remove_changed_cb")]
internal static extern int RemoveChangedCallback(string uri, DBChangedCallback callback, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_changes_by_version")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_changes_by_version")]
internal static extern int GetChangesByVersion(string uri, int bookId, int dbVersion, out IntPtr recordListHandle, out int currentDBVersion);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_vcalendars")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_insert_vcalendars")]
internal static extern int InsertVcalendars(string stream, out IntPtr recordIds, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_vcalendars")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_vcalendars")]
internal static extern int ReplaceVcalendars(string stream, int[] ids, int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_record")]
internal static extern int Replace(IntPtr recordHandle, int recordId);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_replace_records")]
internal static extern int ReplaceRecords(IntPtr recordListHandle, int[] ids, int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_last_change_version")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_last_change_version")]
internal static extern int GetLastChangeVersion(out int lastChangeVersion);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_changes_exception_by_version")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_get_changes_exception_by_version")]
internal static extern int GetChangesException(string uri, int eventId, int dbVersion, out IntPtr recordListHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_clean_after_sync")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_clean_after_sync")]
internal static extern int Clean(int bookId, int dbVersion);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_link_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_link_record")]
internal static extern int LinkRecord(int baseId, int recordId);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_unlink_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_unlink_record")]
internal static extern int UnlinkRecord(int recordId);
- }
}
}
using System;
using System.Runtime.InteropServices;
-using Tizen.Pims.Calendar;
using static Tizen.Pims.Calendar.CalendarFilter;
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Filter
{
- internal static partial class Filter
- {
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_create")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_create")]
internal static extern int Create(string uri, out IntPtr filterHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_destroy")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_destroy")]
internal static extern int Destroy(IntPtr filterHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_str")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_str")]
internal static extern int AddString(IntPtr filterHandle, uint propertyId, StringMatchType match, string value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_int")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_int")]
internal static extern int AddInteger(IntPtr filterHandle, uint propertyId, IntegerMatchType match, int value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_double")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_double")]
internal static extern int AddDouble(IntPtr filterHandle, uint propertyId, IntegerMatchType match, double value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_lli")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_lli")]
internal static extern int AddLong(IntPtr filterHandle, uint propertyId, IntegerMatchType match, long value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_caltime")]
- internal static extern int AddCalendarTime(IntPtr filterHandle, uint propertyId, IntegerMatchType match, Interop.Calendar.Record.DateTime value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_filter")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_caltime")]
+ internal static extern int AddCalendarTime(IntPtr filterHandle, uint propertyId, IntegerMatchType match, Interop.Record.DateTime value);
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_filter")]
internal static extern int AddFilter(IntPtr parentFilterHandle, IntPtr childFilterHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_operator")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_filter_add_operator")]
internal static extern int AddOperator(IntPtr filterHandle, LogicalOperator type);
- }
}
}
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class List
{
- internal static partial class List
- {
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_create")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_create")]
internal static extern int Create(out IntPtr listHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_destroy")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_destroy")]
internal static extern int Destroy(IntPtr listHandle, bool delete);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_get_count")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_get_count")]
internal static extern int GetCount(IntPtr listHandle, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_add")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_add")]
internal static extern int Add(IntPtr listHandle, IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_remove")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_remove")]
internal static extern int Remove(IntPtr listHandle, IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_get_current_record_p")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_get_current_record_p")]
internal static extern int GetCurrentRecordP(IntPtr listHandle, out IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_prev")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_prev")]
internal static extern int Prev(IntPtr listHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_next")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_next")]
internal static extern int Next(IntPtr listHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_first")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_first")]
internal static extern int First(IntPtr listHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_last")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_list_last")]
internal static extern int Last(IntPtr listHandle);
- }
}
}
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Query
{
- internal static partial class Query
- {
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_create")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_create")]
internal static extern int Create(string uri, out IntPtr queryHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_destroy")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_destroy")]
internal static extern int Destroy(IntPtr queryHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_projection")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_projection")]
internal static extern int SetProjection(IntPtr queryHandle, uint[] propertyIdArray, int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_distinct")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_distinct")]
internal static extern int SetDistinct(IntPtr queryHandle, bool set);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_filter")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_filter")]
internal static extern int SetFilter(IntPtr queryHandle, IntPtr filterHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_sort")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_query_set_sort")]
internal static extern int SetSort(IntPtr queryHandle, uint propertyId, bool isAscending);
- }
}
}
using System;
using System.Runtime.InteropServices;
-using Tizen.Pims.Calendar;
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Record
{
- internal static partial class Record
- {
- [StructLayout(LayoutKind.Sequential)]
- internal struct DateTime
- {
- internal int type;
- internal long utime;
- internal int year;
- internal int month;
- internal int mday;
- internal int hour;
- internal int minute;
- internal int second;
- };
+ [StructLayout(LayoutKind.Sequential)]
+ internal struct DateTime
+ {
+ internal int type;
+ internal long utime;
+ internal int year;
+ internal int month;
+ internal int mday;
+ internal int hour;
+ internal int minute;
+ internal int second;
+ };
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_create")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_create")]
internal static extern int Create(string uri, out IntPtr recordHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_destroy")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_destroy")]
internal static extern int Destroy(IntPtr recordHandle, bool isDeleteChild);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_clone")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_clone")]
internal static extern int Clone(IntPtr recordHandle, out IntPtr cloneHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_uri_p")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_uri_p")]
internal static extern int GetUriPointer(IntPtr recordHandle, out IntPtr uri);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_str")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_str")]
internal static extern int GetString(IntPtr recordHandle, uint propertyId, out string str);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_str_p")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_str_p")]
internal static extern int GetStringPointer(IntPtr recordHandle, uint propertyId, out string str);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_int")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_int")]
internal static extern int GetInteger(IntPtr recordHandle, uint propertyId, out int value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_double")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_double")]
internal static extern int GetDouble(IntPtr recordHandle, uint propertyId, out double value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_lli")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_lli")]
internal static extern int GetLli(IntPtr recordHandle, uint propertyId, out long value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_caltime")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_caltime")]
internal static extern int GetCalendarTime(IntPtr recordHandle, uint propertyId, out DateTime value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_str")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_str")]
internal static extern int SetString(IntPtr recordHandle, uint propertyId, string str);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_int")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_int")]
internal static extern int SetInteger(IntPtr recordHandle, uint propertyId, int value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_double")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_double")]
internal static extern int SetDouble(IntPtr recordHandle, uint propertyId, double value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_lli")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_lli")]
internal static extern int SetLli(IntPtr recordHandle, uint propertyId, long value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_caltime")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_set_caltime")]
internal static extern int SetCalendarTime(IntPtr recordHandle, uint propertyId, DateTime value);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_add_child_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_add_child_record")]
internal static extern int AddChildRecord(IntPtr recordHandle, uint propertyId, IntPtr childHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_remove_child_record")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_remove_child_record")]
internal static extern int RemoveChildRecord(IntPtr recordHandle, uint propertyId, IntPtr childHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_child_record_count")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_child_record_count")]
internal static extern int GetChildRecordCount(IntPtr recordHandle, uint propertyId, out int count);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_child_record_at_p")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_get_child_record_at_p")]
internal static extern int GetChildRecordPointer(IntPtr recordHandle, uint propertyId, int index, out IntPtr childHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_clone_child_record_list")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_record_clone_child_record_list")]
internal static extern int CloneChildRecordList(IntPtr childRecordHandle, uint propertyId, out IntPtr listHandle);
- }
}
}
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Reminder
{
- internal static partial class Reminder
- {
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate void ReminderAlertedCallback(string param, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_reminder_add_cb")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_reminder_add_cb")]
internal static extern int Add(ReminderAlertedCallback callback, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_remove_changed_cb")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_db_remove_changed_cb")]
internal static extern int Remove(ReminderAlertedCallback callback, IntPtr userData);
- }
}
}
* limitations under the License.
*/
-using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Service
{
- internal static partial class Service
- {
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect")]
internal static extern int Connect();
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_disconnect")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_disconnect")]
internal static extern int Disconnect();
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect_on_thread")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect_on_thread")]
internal static extern int ConnectOnThread();
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_disconnect_on_thread")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_disconnect_on_thread")]
internal static extern int DisconnectOnThread();
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect_with_flags")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_connect_with_flags")]
internal static extern int ConnectWithFlags(uint flags);
- }
}
}
-
internal static partial class Interop
{
- internal static partial class Calendar
+ internal static partial class Vcalendar
{
- internal static partial class Vcalendar
- {
- [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
internal delegate bool ParseCallback(IntPtr recordHandle, IntPtr userData);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_make_from_records")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_make_from_records")]
internal static extern int Compose(IntPtr listHandle, out string stream);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_parse_to_calendar")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_parse_to_calendar")]
internal static extern int Parse(string stream, out IntPtr listHandle);
- [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_parse_to_calendar_foreach")]
+ [DllImport(Libraries.Calendar, EntryPoint = "calendar_vcalendar_parse_to_calendar_foreach")]
internal static extern int ParseForEach(string filePath, ParseCallback parseCb, IntPtr userData);
- }
}
}
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
/// <summary>
/// The Calendar Service API provides functions, enumerations used in the entire Content Service.
/// CalendarDatabase provides methods to manage calendar information from/to the database.
/// </summary>
/// <remarks>
- /// This class allows usre to access/create/update db operations for calendar information.
+ /// This class allows user to access/create/update db operations for calendar information.
/// </remarks>
public class CalendarDatabase
{
/// The delegate must be registered using AddDBChangedDelegate.
/// It's invoked when the designated view changes.
/// </remarks>
- /// <see cref="AddDBChangedDelegate"/>
- public delegate void CalendarDBChangedDelegate(string uri);
+ public delegate void CalendarDBChanged(string uri);
private Object thisLock = new Object();
- private Dictionary<string, CalendarDBChangedDelegate> _callbackMap = new Dictionary<string, CalendarDBChangedDelegate>();
- private Dictionary<string, Interop.Calendar.Database.DBChangedCallback> _delegateMap = new Dictionary<string, Interop.Calendar.Database.DBChangedCallback>();
- private Interop.Calendar.Database.DBChangedCallback _dbChangedDelegate;
+ private Dictionary<string, CalendarDBChanged> _callbackMap = new Dictionary<string, CalendarDBChanged>();
+ private Dictionary<string, Interop.Database.DBChangedCallback> _delegateMap = new Dictionary<string, Interop.Database.DBChangedCallback>();
+ private Interop.Database.DBChangedCallback _dbChangedDelegate;
internal CalendarDatabase()
{
/// <summary>
/// The calendar database version.
/// </summary>
+ /// <value>The current calendar database version.</value>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public int Version
{
get
{
int version = -1;
- int error = Interop.Calendar.Database.GetCurrentVersion(out version);
+ int error = Interop.Database.GetCurrentVersion(out version);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Version Failed with error " + error);
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ /// <value>The last successful changed calendar database version on the current connection.</value>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public int LastChangeVersion
{
get
{
int version = -1;
- int error = Interop.Calendar.Database.GetLastChangeVersion(out version);
+ int error = Interop.Database.GetLastChangeVersion(out version);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "LastChangeVersion Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public int Insert(CalendarRecord record)
{
int id = -1;
- int error = Interop.Calendar.Database.Insert(record._recordHandle, out id);
+ int error = Interop.Database.Insert(record._recordHandle, out id);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Insert Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarRecord Get(string viewUri, int recordId)
{
IntPtr handle;
- int error = Interop.Calendar.Database.Get(viewUri, recordId, out handle);
+ int error = Interop.Database.Get(viewUri, recordId, out handle);
if (CalendarError.None != (CalendarError)error)
{
if (CalendarError.DBNotFound == (CalendarError)error)
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void Update(CalendarRecord record)
{
- int error = Interop.Calendar.Database.Update(record._recordHandle);
+ int error = Interop.Database.Update(record._recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Update Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public void Delete(string viewUri, int recordId)
{
- int error = Interop.Calendar.Database.Delete(viewUri, recordId);
+ int error = Interop.Database.Delete(viewUri, recordId);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Delete Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void Replace(CalendarRecord record, int id)
{
- int error = Interop.Calendar.Database.Replace(record._recordHandle, id);
+ int error = Interop.Database.Replace(record._recordHandle, id);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Replace Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarList GetAll(string viewUri, int offset, int limit)
{
IntPtr handle;
- int error = Interop.Calendar.Database.GetAllRecords(viewUri, offset, limit, out handle);
+ int error = Interop.Database.GetAllRecords(viewUri, offset, limit, out handle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetAll Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public CalendarList GetRecordsWithQuery(CalendarQuery query, int offset, int limit)
{
IntPtr handle;
- int error = Interop.Calendar.Database.GetRecords(query._queryHandle, offset, limit, out handle);
+ int error = Interop.Database.GetRecords(query._queryHandle, offset, limit, out handle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetAllWithQuery Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public int[] Insert(CalendarList list)
{
IntPtr ids;
int count;
- int error = Interop.Calendar.Database.InsertRecords(list._listHandle, out ids, out count);
+ int error = Interop.Database.InsertRecords(list._listHandle, out ids, out count);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Insert Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void Update(CalendarList list)
{
- int error = Interop.Calendar.Database.UpdateRecords(list._listHandle);
+ int error = Interop.Database.UpdateRecords(list._listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Update Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public void Delete(string viewUri, int[] idArray)
{
- int error = Interop.Calendar.Database.DeleteRecords(viewUri, idArray, idArray.Length);
+ int error = Interop.Database.DeleteRecords(viewUri, idArray, idArray.Length);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Delete Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void Replace(CalendarList list, int[] idArray)
{
- int error = Interop.Calendar.Database.ReplaceRecords(list._listHandle, idArray, idArray.Length);
+ int error = Interop.Database.ReplaceRecords(list._listHandle, idArray, idArray.Length);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Replace Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarList GetChangesByVersion(string viewUri, int BookId, int calendarDBVersion, out int currentDBVersion)
{
IntPtr recordList;
- int error = Interop.Calendar.Database.GetChangesByVersion(viewUri, BookId, calendarDBVersion, out recordList, out currentDBVersion);
+ int error = Interop.Database.GetChangesByVersion(viewUri, BookId, calendarDBVersion, out recordList, out currentDBVersion);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetChangesByVersion Failed with error " + error);
/// The count of records
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ [SuppressMessage("Microsoft.Design", "CA1822:MarkMembersAsStatic")]
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public int GetCount(string viewUri)
{
int count = -1;
- int error = Interop.Calendar.Database.GetCount(viewUri, out count);
+ int error = Interop.Database.GetCount(viewUri, out count);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetCount Failed with error " + error);
/// The count of records
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ [SuppressMessage("Microsoft.Design", "CA1822:MarkMembersAsStatic")]
public int GetCount(CalendarQuery query)
{
int count = -1;
- int error = Interop.Calendar.Database.GetCountWithQuery(query._queryHandle, out count);
+ int error = Interop.Database.GetCountWithQuery(query._queryHandle, out count);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetCount Failed with error " + error);
/// <param name="viewUri">The view URI of the record to subscribe for change notifications</param>
/// <param name="callback">The callback function to register</param>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
- public void AddDBChangedDelegate(string viewUri, CalendarDBChangedDelegate callback)
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
+ public void AddDBChangedDelegate(string viewUri, CalendarDBChanged callback)
{
Log.Debug(Globals.LogTag, "AddDBChangedDelegate");
{
_callbackMap[uri](uri);
};
- int error = Interop.Calendar.Database.AddChangedCallback(viewUri, _dbChangedDelegate, IntPtr.Zero);
+ int error = Interop.Database.AddChangedCallback(viewUri, _dbChangedDelegate, IntPtr.Zero);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddDBChangedDelegate Failed with error " + error);
}
/// <summary>
- /// Unregisters a callback function.
+ /// Deregisters a callback function.
/// </summary>
/// <param name="viewUri">The view URI of the record to subscribe for change notifications</param>
/// <param name="callback">The callback function to register</param>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
- public void RemoveDBChangedDelegate(string viewUri, CalendarDBChangedDelegate callback)
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
+ public void RemoveDBChangedDelegate(string viewUri, CalendarDBChanged callback)
{
Log.Debug(Globals.LogTag, "RemoveDBChangedDelegate");
- int error = Interop.Calendar.Database.RemoveChangedCallback(viewUri, _delegateMap[viewUri], IntPtr.Zero);
+ int error = Interop.Database.RemoveChangedCallback(viewUri, _delegateMap[viewUri], IntPtr.Zero);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "RemoveDBChangedDelegate Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Design", "CA1822:MarkMembersAsStatic")]
public void LinkRecord(int baseId, int recordId)
{
Log.Debug(Globals.LogTag, "LinkRecord");
- int error = Interop.Calendar.Database.LinkRecord(baseId, recordId);
+ int error = Interop.Database.LinkRecord(baseId, recordId);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "LinkRecor Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
+ [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public void UnlinkRecord(int recordId)
{
Log.Debug(Globals.LogTag, "UnlinkRecord");
- int error = Interop.Calendar.Database.UnlinkRecord(recordId);
+ int error = Interop.Database.UnlinkRecord(recordId);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "UnlinkRecor Failed with error " + error);
*/
using System;
-using Tizen.Internals.Errors;
namespace Tizen.Pims.Calendar
{
*/
using System;
-using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
namespace Tizen.Pims.Calendar
{
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarFilter(string viewUri, uint propertyId, StringMatchType matchType, string matchValue)
{
int error = 0;
- error = Interop.Calendar.Filter.Create(viewUri, out _filterHandle);
+ error = Interop.Filter.Create(viewUri, out _filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddString(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddString(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarFilter(string viewUri, uint propertyId, IntegerMatchType matchType, int matchValue)
{
int error = 0;
- error = Interop.Calendar.Filter.Create(viewUri, out _filterHandle);
+ error = Interop.Filter.Create(viewUri, out _filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddInteger(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddInteger(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarFilter(string viewUri, uint propertyId, IntegerMatchType matchType, long matchValue)
{
int error = 0;
- error = Interop.Calendar.Filter.Create(viewUri, out _filterHandle);
+ error = Interop.Filter.Create(viewUri, out _filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddLong(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddLong(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarFilter(string viewUri, uint propertyId, IntegerMatchType matchType, double matchValue)
{
int error = 0;
- error = Interop.Calendar.Filter.Create(viewUri, out _filterHandle);
+ error = Interop.Filter.Create(viewUri, out _filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddDouble(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddDouble(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarFilter(string viewUri, uint propertyId, IntegerMatchType matchType, CalendarTime matchValue)
{
int error = 0;
- error = Interop.Calendar.Filter.Create(viewUri, out _filterHandle);
+ error = Interop.Filter.Create(viewUri, out _filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- Interop.Calendar.Record.DateTime time = CalendarRecord.ConvertCalendarTimeToStruct(matchValue);
- error = Interop.Calendar.Filter.AddCalendarTime(_filterHandle, propertyId, matchType, time);
+ Interop.Record.DateTime time = CalendarRecord.ConvertCalendarTimeToStruct(matchValue);
+ error = Interop.Filter.AddCalendarTime(_filterHandle, propertyId, matchType, time);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarFilter Failed with error " + error);
}
}
+ /// <summary>
+ /// Destroy filter.
+ /// </summary>
~CalendarFilter()
{
Dispose(false);
/// <summary>
/// Full string, case-insensitive
/// </summary>
- Fullstring,
+ FullString,
/// <summary>
/// Sub string, case-insensitive
/// </summary>
/// <summary>
/// Start with, case-insensitive
/// </summary>
- Startswith,
+ StartsWith,
/// <summary>
/// End with, case-insensitive
/// </summary>
- Endswith,
+ EndsWith,
/// <summary>
/// IS NOT NUL
/// </summary>
#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
+ /// <summary>
+ /// Dispose
+ /// </summary>
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
{
Log.Debug(Globals.LogTag, "Dispose :" + disposing);
- int error = Interop.Calendar.Filter.Destroy(_filterHandle);
+ int error = Interop.Filter.Destroy(_filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Destroy Failed with error " + error);
/// <summary>
/// Releases all resources used by the CalendarFilter.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
#endregion
/// <param name="logicalOperator">The operator type</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
- /// <param name="matchValue">The match valu</param>
+ /// <param name="matchValue">The match value</param>
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddCondition(LogicalOperator logicalOperator, uint propertyId, StringMatchType matchType, string matchValue)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddString(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddString(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
/// <param name="logicalOperator">The operator type</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
- /// <param name="matchValue">The match valu</param>
+ /// <param name="matchValue">The match value</param>
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, int matchValue)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddInteger(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddInteger(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
/// <param name="logicalOperator">The operator type</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
- /// <param name="matchValue">The match valu</param>
+ /// <param name="matchValue">The match value</param>
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, long matchValue)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddLong(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddLong(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
/// <param name="logicalOperator">The operator type</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
- /// <param name="matchValue">The match valu</param>
+ /// <param name="matchValue">The match value</param>
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, double matchValue)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddDouble(_filterHandle, propertyId, matchType, matchValue);
+ error = Interop.Filter.AddDouble(_filterHandle, propertyId, matchType, matchValue);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
/// <param name="logicalOperator">The operator type</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
- /// <param name="matchValue">The match valu</param>
+ /// <param name="matchValue">The match value</param>
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddCondition(LogicalOperator logicalOperator, uint propertyId, IntegerMatchType matchType, CalendarTime matchValue)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- Interop.Calendar.Record.DateTime time = CalendarRecord.ConvertCalendarTimeToStruct(matchValue);
- error = Interop.Calendar.Filter.AddCalendarTime(_filterHandle, propertyId, matchType, time);
+ Interop.Record.DateTime time = CalendarRecord.ConvertCalendarTimeToStruct(matchValue);
+ error = Interop.Filter.AddCalendarTime(_filterHandle, propertyId, matchType, time);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddFilter(LogicalOperator logicalOperator, CalendarFilter filter)
{
- int error = Interop.Calendar.Filter.AddOperator(_filterHandle, logicalOperator);
+ int error = Interop.Filter.AddOperator(_filterHandle, logicalOperator);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddCondition Failed with error " + error);
throw CalendarErrorFactory.GetException(error);
}
- error = Interop.Calendar.Filter.AddFilter(_filterHandle, filter._filterHandle);
+ error = Interop.Filter.AddFilter(_filterHandle, filter._filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddFilter Failed with error " + error);
*/
using System;
-using System.Collections;
-using System.Collections.Generic;
namespace Tizen.Pims.Calendar
{
{
_listHandle = handle;
- _memoryPressure += this.Count * CalendarViews.AverageSizeOfRecord;
+ _memoryPressure += this.Count * CalendarViews.Record.AverageSize;
GC.AddMemoryPressure(_memoryPressure);
}
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
public CalendarList()
{
- int error = Interop.Calendar.List.Create(out _listHandle);
+ int error = Interop.List.Create(out _listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarList Failed with error " + error);
GC.AddMemoryPressure(_memoryPressure);
}
- ~CalendarList()
- {
- Dispose(false);
- }
-
/// <summary>
/// The count of the calendar entity.
/// </summary>
+ /// <value>The count of calendar entity.</value>
public int Count
{
get
if (_count == -1)
{
int count = -1;
- int error = Interop.Calendar.List.GetCount(_listHandle, out count);
+ int error = Interop.List.GetCount(_listHandle, out count);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetCount Failed with error " + error);
}
}
+ /// <summary>
+ /// Destory CalendarList resource.
+ /// </summary>
+ ~CalendarList()
+ {
+ Dispose(false);
+ }
+
#region IDisposable Support
private bool disposedValue = false; // To detect redundant calls
+ /// <summary>
+ /// Disposes of the resources (other than memory) used by the CalendarList.
+ /// </summary>
+ /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
{
Log.Debug(Globals.LogTag, "Dispose :" + disposing);
- int error = Interop.Calendar.List.Destroy(_listHandle, true);
+ int error = Interop.List.Destroy(_listHandle, true);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Destroy Failed with error " + error);
/// <summary>
/// Releases all resources used by the CalendarList.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
#endregion
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddRecord(CalendarRecord record)
{
- int error = Interop.Calendar.List.Add(_listHandle, record._recordHandle);
+ int error = Interop.List.Add(_listHandle, record._recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddRecord Failed with error " + error);
}
record._disposedValue = true;
_count = -1;
- _memoryPressure += CalendarViews.AverageSizeOfRecord;
+ _memoryPressure += CalendarViews.Record.AverageSize;
}
/// <summary>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void RemoveRecord(CalendarRecord record)
{
- int error = Interop.Calendar.List.Remove(_listHandle, record._recordHandle);
+ int error = Interop.List.Remove(_listHandle, record._recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "RemoveRecord Failed with error " + error);
}
record._disposedValue = false;
_count = -1;
- _memoryPressure -= CalendarViews.AverageSizeOfRecord;
+ _memoryPressure -= CalendarViews.Record.AverageSize;
}
/// <summary>
public CalendarRecord GetCurrentRecord()
{
IntPtr handle;
- int error = Interop.Calendar.List.GetCurrentRecordP(_listHandle, out handle);
+ int error = Interop.List.GetCurrentRecordP(_listHandle, out handle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetCurrentRecord Failed with error " + error);
/// </returns>
public bool MovePrevious()
{
- int error = Interop.Calendar.List.Prev(_listHandle);
+ int error = Interop.List.Prev(_listHandle);
if (CalendarError.None == (CalendarError)error)
{
return true;
/// </returns>
public bool MoveNext()
{
- int error = Interop.Calendar.List.Next(_listHandle);
+ int error = Interop.List.Next(_listHandle);
if (CalendarError.None == (CalendarError)error)
{
return true;
/// </summary>
public void MoveFirst()
{
- int error = Interop.Calendar.List.First(_listHandle);
+ int error = Interop.List.First(_listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "MoveFirst Failed with error " + error);
/// </summary>
public void MoveLast()
{
- int error = Interop.Calendar.List.Last(_listHandle);
+ int error = Interop.List.Last(_listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "MoveLast Failed with error " + error);
*/
using System;
-using System.Collections.Generic;
-using static Interop.Calendar.Service;
+using System.Diagnostics.CodeAnalysis;
namespace Tizen.Pims.Calendar
{
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
public CalendarManager()
{
- int error = Interop.Calendar.Service.Connect();
+ int error = Interop.Service.Connect();
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Connect Failed with error " + error);
_db = new CalendarDatabase();
}
+ /// <summary>
+ /// Destory CalendarManager resource.
+ /// </summary>
~CalendarManager()
{
Dispose(false);
/// To detect redundant calls
private bool disposedValue = false;
+ /// <summary>
+ /// Disposes of the resources (other than memory) used by the CalendarManager.
+ /// </summary>
+ /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
{
Log.Debug(Globals.LogTag, "Dispose :" + disposing);
- int error = Interop.Calendar.Service.Disconnect();
+ int error = Interop.Service.Disconnect();
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Disconnect Failed with error " + error);
/// <summary>
/// Releases all resources used by the CalendarManager.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
#endregion
/// <summary>
/// Get database.
/// </summary>
+ /// <value>The database instance</value>
public CalendarDatabase Database
{
get
*/
using System;
-using static Interop.Calendar.Query;
+using System.Diagnostics.CodeAnalysis;
namespace Tizen.Pims.Calendar
{
+ /// <summary>
/// A query is used to retrieve data which satisfies given criteria.
/// </summary>
/// <remarks>
/// or a string property containing a given substring.
/// A query needs a filter which can set the conditions for the search.
/// </remarks>
- public class CalendarQuery : IDisposable
+ public class CalendarQuery:IDisposable
{
internal IntPtr _queryHandle;
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarQuery(string viewUri)
{
- int error = Interop.Calendar.Query.Create(viewUri, out _queryHandle);
+ int error = Interop.Query.Create(viewUri, out _queryHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarQuery Failed with error " + error);
_queryHandle = handle;
}
+ /// <summary>
+ /// Destructor
+ /// </summary>
~CalendarQuery()
{
Dispose(false);
#region IDisposable Support
private bool disposedValue = false;
+ /// <summary>
+ /// Disposes of the resources (other than memory) used by the CalendarQuery.
+ /// </summary>
+ /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
{
Log.Debug(Globals.LogTag, "Dispose :" + disposing);
- int error = Interop.Calendar.Query.Destroy(_queryHandle);
+ int error = Interop.Query.Destroy(_queryHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarQueryDestroy Failed with error " + error);
/// <summary>
/// Releases all resources used by the CalendarQuery.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
#endregion
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetProjection(uint[] propertyIdArray)
{
- int error = Interop.Calendar.Query.SetProjection(_queryHandle, propertyIdArray, propertyIdArray.Length);
+ int error = Interop.Query.SetProjection(_queryHandle, propertyIdArray, propertyIdArray.Length);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "SetProjection Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetDistinct(bool set)
{
- int error = Interop.Calendar.Query.SetDistinct(_queryHandle, set);
+ int error = Interop.Query.SetDistinct(_queryHandle, set);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "SetDistinct Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetFilter(CalendarFilter filter)
{
- int error = Interop.Calendar.Query.SetFilter(_queryHandle, filter._filterHandle);
+ int error = Interop.Query.SetFilter(_queryHandle, filter._filterHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "SetFilter Failed with error " + error);
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetSort(uint propertyId, bool isAscending)
{
- int error = Interop.Calendar.Query.SetSort(_queryHandle, propertyId, isAscending);
+ int error = Interop.Query.SetSort(_queryHandle, propertyId, isAscending);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "SetSort Failed with error " + error);
*/
using System;
-using System.Collections.Generic;
using System.Runtime.InteropServices;
+using System.Diagnostics.CodeAnalysis;
namespace Tizen.Pims.Calendar
{
{
internal string _uri;
internal uint _id;
- private Int64 _memoryPressure = CalendarViews.AverageSizeOfRecord;
+ private Int64 _memoryPressure = CalendarViews.Record.AverageSize;
internal IntPtr _recordHandle;
internal CalendarRecord(IntPtr handle)
_recordHandle = handle;
IntPtr viewUri;
- int error = Interop.Calendar.Record.GetUriPointer(handle, out viewUri);
+ int error = Interop.Record.GetUriPointer(handle, out viewUri);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetUriPointer Failed with error " + error);
_disposedValue = disposedValue;
IntPtr viewUri;
- int error = Interop.Calendar.Record.GetUriPointer(handle, out viewUri);
+ int error = Interop.Record.GetUriPointer(handle, out viewUri);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetUriPointer Failed with error " + error);
_id = (uint)id;
IntPtr viewUri;
- int error = Interop.Calendar.Record.GetUriPointer(handle, out viewUri);
+ int error = Interop.Record.GetUriPointer(handle, out viewUri);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetUriPointer Failed with error " + error);
/// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+ [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public CalendarRecord(string viewUri)
{
int error = 0;
- error = Interop.Calendar.Record.Create(viewUri, out _recordHandle);
+ error = Interop.Record.Create(viewUri, out _recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CalendarRecord Failed with error " + error);
GC.AddMemoryPressure(_memoryPressure);
}
+ /// <summary>
+ /// Destructor
+ /// </summary>
~CalendarRecord()
{
Dispose(false);
/// To detect redundant calls
internal bool _disposedValue = false;
+ /// <summary>
+ /// Disposes of the resources (other than memory) used by the CalendarRecord.
+ /// </summary>
+ /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (!_disposedValue)
{
Log.Debug(Globals.LogTag, "Dispose :" + disposing);
- int error = Interop.Calendar.Record.Destroy(_recordHandle, false);
+ int error = Interop.Record.Destroy(_recordHandle, false);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Destroy Failed with error " + error);
/// <summary>
/// Releases all resources used by the CalendarRecord.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
Dispose(true);
+ GC.SuppressFinalize(this);
}
#endregion
- internal static Interop.Calendar.Record.DateTime ConvertCalendarTimeToStruct(CalendarTime value)
+ internal static Interop.Record.DateTime ConvertCalendarTimeToStruct(CalendarTime value)
{
- Interop.Calendar.Record.DateTime time = new Interop.Calendar.Record.DateTime();
+ Interop.Record.DateTime time = new Interop.Record.DateTime();
time.type = value._type;
if ((int)CalendarTime.Type.Utc == value._type)
return time;
}
- internal static CalendarTime ConvertIntPtrToCalendarTime(Interop.Calendar.Record.DateTime time)
+ internal static CalendarTime ConvertIntPtrToCalendarTime(Interop.Record.DateTime time)
{
CalendarTime value;
if ((int)CalendarTime.Type.Utc == time.type)
public CalendarRecord Clone()
{
IntPtr _clonedRecordHandle;
- int error = Interop.Calendar.Record.Clone(_recordHandle, out _clonedRecordHandle);
+ int error = Interop.Record.Clone(_recordHandle, out _clonedRecordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Clone Failed with error " + error);
}
/// <summary>
- /// The URI of the record
+ /// Get record URI.
/// </summary>
+ /// <value>The URI of the record</value>
+ [SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string Uri
{
get
if (typeof(T) == typeof(string))
{
string val;
- int error = Interop.Calendar.Record.GetString(_recordHandle, propertyId, out val);
+ int error = Interop.Record.GetString(_recordHandle, propertyId, out val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Get String Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(int))
{
int val;
- int error = Interop.Calendar.Record.GetInteger(_recordHandle, propertyId, out val);
+ int error = Interop.Record.GetInteger(_recordHandle, propertyId, out val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Get Intger Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(long))
{
long val;
- int error = Interop.Calendar.Record.GetLli(_recordHandle, propertyId, out val);
+ int error = Interop.Record.GetLli(_recordHandle, propertyId, out val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Get Long Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(double))
{
double val;
- int error = Interop.Calendar.Record.GetDouble(_recordHandle, propertyId, out val);
+ int error = Interop.Record.GetDouble(_recordHandle, propertyId, out val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Get Double Failed [" + error + "]" + String.Format("{0:X}", propertyId));
}
else if (typeof(T) == typeof(CalendarTime))
{
- Interop.Calendar.Record.DateTime time;
- int error = Interop.Calendar.Record.GetCalendarTime(_recordHandle, propertyId, out time);
+ Interop.Record.DateTime time;
+ int error = Interop.Record.GetCalendarTime(_recordHandle, propertyId, out time);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Get CalendarTime Failed [" + error + "]" + String.Format("{0:X}", propertyId));
if (typeof(T) == typeof(string))
{
string val = Convert.ToString(value);
- int error = Interop.Calendar.Record.SetString(_recordHandle, propertyId, val);
+ int error = Interop.Record.SetString(_recordHandle, propertyId, val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Set String Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(int))
{
int val = Convert.ToInt32(value);
- int error = Interop.Calendar.Record.SetInteger(_recordHandle, propertyId, val);
+ int error = Interop.Record.SetInteger(_recordHandle, propertyId, val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Set Integer Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(long))
{
long val = Convert.ToInt64(value);
- int error = Interop.Calendar.Record.SetLli(_recordHandle, propertyId, val);
+ int error = Interop.Record.SetLli(_recordHandle, propertyId, val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Set Long Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(double))
{
double val = Convert.ToDouble(value);
- int error = Interop.Calendar.Record.SetDouble(_recordHandle, propertyId, val);
+ int error = Interop.Record.SetDouble(_recordHandle, propertyId, val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Set Double Failed [" + error + "]" + String.Format("{0:X}", propertyId));
else if (typeof(T) == typeof(CalendarTime))
{
CalendarTime time = (CalendarTime)Convert.ChangeType(value, typeof(CalendarTime));
- Interop.Calendar.Record.DateTime val = ConvertCalendarTimeToStruct(time);
- int error = Interop.Calendar.Record.SetCalendarTime(_recordHandle, propertyId, val);
+ Interop.Record.DateTime val = ConvertCalendarTimeToStruct(time);
+ int error = Interop.Record.SetCalendarTime(_recordHandle, propertyId, val);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Set CalendarTime Failed [" + error + "]" + String.Format("{0:X}", propertyId));
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddChildRecord(uint propertyId, CalendarRecord childRecord)
{
- int error = Interop.Calendar.Record.AddChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
+ int error = Interop.Record.AddChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "AddChildRecord Failed [" + error + "]" + String.Format("{0:X}", propertyId));
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void RemoveChildRecord(uint propertyId, CalendarRecord childRecord)
{
- int error = Interop.Calendar.Record.RemoveChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
+ int error = Interop.Record.RemoveChildRecord(_recordHandle, propertyId, childRecord._recordHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "RemoveChildRecord Failed [" + error + "]" + String.Format("{0:X}", propertyId));
public int GetChildRecordCount(uint propertyId)
{
int count = 0;
- int error = Interop.Calendar.Record.GetChildRecordCount(_recordHandle, propertyId, out count);
+ int error = Interop.Record.GetChildRecordCount(_recordHandle, propertyId, out count);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetChildRecordCount Failed [" + error + "]" + String.Format("{0:X}", propertyId));
{
IntPtr handle;
- int error = Interop.Calendar.Record.GetChildRecordPointer(_recordHandle, propertyId, index, out handle);
+ int error = Interop.Record.GetChildRecordPointer(_recordHandle, propertyId, index, out handle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "GetChildRecord Failed [" + error + "]" + String.Format("{0:X}", propertyId));
public CalendarList CloneChildRecordList(uint propertyId)
{
IntPtr listHandle;
- int error = Interop.Calendar.Record.CloneChildRecordList(_recordHandle, propertyId, out listHandle);
+ int error = Interop.Record.CloneChildRecordList(_recordHandle, propertyId, out listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "CloneChildRecordList Failed with [" + error + "]" + String.Format("{0:X}", propertyId));
*/
using System;
-using static Interop.Calendar.Reminder;
namespace Tizen.Pims.Calendar
{
/// <remarks>
/// The client who wants to be alerted at specific time should register MIME("application/x-tizen.calendar.reminder") type in manifest.xml file.
/// </remarks>
- public class CalendarReminder : IDisposable
+ public class CalendarReminder:IDisposable
{
#region IDisposable Support
private bool disposedValue = false;
{
}
+ /// <summary>
+ /// Disposes of the resources (other than memory) used by the CalendarReminder.
+ /// </summary>
+ /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
if (!disposedValue)
/// <summary>
/// Releases all resources used by the CalendarReminder.
- /// It should be called after finished using of the object.
+ /// It should be called after having finished using of the object.
/// </summary>
public void Dispose()
{
}
#endregion
- private static readonly Interop.Calendar.Reminder.ReminderAlertedCallback _reminderAlertedCallback = (string param, IntPtr userData) =>
+ private static readonly Interop.Reminder.ReminderAlertedCallback _reminderAlertedCallback = (string param, IntPtr userData) =>
{
ReminderAlertedEventArgs args = new ReminderAlertedEventArgs(param);
s_reminderAlerted?.Invoke(null, args);
if (s_reminderAlerted == null)
{
- int error = Interop.Calendar.Reminder.Add(_reminderAlertedCallback, IntPtr.Zero);
+ int error = Interop.Reminder.Add(_reminderAlertedCallback, IntPtr.Zero);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Add reminder Failed with error " + error);
if (s_reminderAlerted == null)
{
/// _reminderAlertedCallback is removed by .Net Core
- int error = Interop.Calendar.Reminder.Remove(_reminderAlertedCallback, IntPtr.Zero);
+ int error = Interop.Reminder.Remove(_reminderAlertedCallback, IntPtr.Zero);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Remove reminder Failed with error " + error);
*/
using System;
-using System.Runtime.InteropServices;
namespace Tizen.Pims.Calendar
{
/// <summary>
- /// A class for time to set, get or calcurate.
+ /// A class for time to set, get or calculate.
/// </summary>
- public class CalendarTime : IComparable<CalendarTime>
+ public class CalendarTime:IComparable<CalendarTime>
{
internal int _type;
internal const int milliseconds = 10000000;
}
/// <summary>
- /// Get utcTime
+ /// Get UtcTime
/// </summary>
+ /// <value>The Utc time</value>
public DateTime UtcTime
{
get;
/// <summary>
/// Get localTime
/// </summary>
+ /// <value>The localtime</value>
public DateTime LocalTime
{
get;
/// <summary>
/// Compare CalendarTime
/// </summary>
- /// <param name="t">The CalendarTime to be compared</param>
+ /// <param name="other">The CalendarTime to be compared</param>
/// <returns>
/// A 32-bit signed integer that indicates the relative order of the objects being compared.
/// </returns>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
- public int CompareTo(CalendarTime t)
+ public int CompareTo(CalendarTime other)
{
- if (_type != t._type)
+ if (_type != other._type)
{
Log.Error(Globals.LogTag, "Not to compare with different type");
throw CalendarErrorFactory.GetException((int)CalendarError.InvalidParameter);
}
if (_type == (int)Type.Utc)
- return UtcTime.CompareTo(t.UtcTime);
+ return UtcTime.CompareTo(other.UtcTime);
else
- return LocalTime.CompareTo(t.LocalTime);
+ return LocalTime.CompareTo(other.LocalTime);
+ }
+
+ public bool Equals(CalendarTime other)
+ {
+ if (_type != other._type)
+ {
+ Log.Error(Globals.LogTag, "Not to compare with different type");
+ throw CalendarErrorFactory.GetException((int)CalendarError.InvalidParameter);
+ }
+
+ if (_type == (int)Type.Utc)
+ return UtcTime.Equals(other.UtcTime);
+ else
+ return LocalTime.Equals(other.LocalTime);
}
}
}
* limitations under the License.
*/
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-/// <summary>
-/// </summary>
-/// <remarks>
-/// </remarks>
namespace Tizen.Pims.Calendar
{
/// <summary>
+ /// This class provides enumurations about calendar inforamtion.
/// </summary>
+ /// <remarks>
+ /// Most enumurations are based on vcalendar, icalendar(ver 2.0) specification.
+ /// https://www.ietf.org/rfc/rfc2445.txt
+ /// </remarks>
public static class CalendarTypes
{
/// <summary>
/// </summary>
Confirmed = 0x04,
/// <summary>
- /// The event is canceled
+ /// The event is cancelled
/// </summary>
Cancelled = 0x08,
}
/// </summary>
InProcess = 0x0800,
/// <summary>
- /// Canceled status
+ /// Cancelled status
/// </summary>
- Canceled = 0x1000,
+ Cancelled = 0x1000,
}
/// <summary>
/// <summary>
/// No meeting
/// </summary>
- Notmeeting,
+ NoMeeting,
/// <summary>
/// Meeting exists
/// </summary>
/// </summary>
Received,
/// <summary>
- /// Meeting canceled
+ /// Meeting cancelled
/// </summary>
- Canceled,
+ Cancelled,
}
/// <summary>
/// <summary>
/// Tuesday
/// </summary>
- Thuesday,
+ Tuesday,
/// <summary>
/// Wednesday
/// </summary>
/// <summary>
/// Thursday
/// </summary>
- Thurday,
+ Thursday,
/// <summary>
/// Friday
/// </summary>
/// <summary>
/// Saturday
/// </summary>
- Saterday,
+ Saturday,
}
/// <summary>
- /// Enumeration for the attendee cutype.
+ /// Enumeration to specify the type of calendar user specified by the property.
/// </summary>
public enum Cutype
{
/// <summary>
- /// Individual cutype
+ /// An individual
/// </summary>
Individual,
/// <summary>
- /// Group cutype
+ /// A group of individuals
/// </summary>
Group,
/// <summary>
- /// Resource cutype
+ /// A physical resource
/// </summary>
- Recource,
+ Resource,
/// <summary>
- /// Room cutype
+ /// A room resource
/// </summary>
Room,
/// <summary>
- /// Unknown cutype
+ /// Otherwise not known
/// </summary>
Unknown,
}
*/
using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
namespace Tizen.Pims.Calendar
{
/// <summary>
+ /// Parsing vcalendar file callback function.
+ /// </summary>
+ /// <param name="record">The record</param>
+ public delegate bool ParseCallback(CalendarRecord record);
+
+ /// <summary>
/// A class for parsing and composing vCalendar.
/// </summary>
/// <remarks>
/// It's based on the vCalendar v2.0 specification
/// </remarks>
- public class CalendarVcalendar
+ public static class CalendarVcalendar
{
- internal CalendarVcalendar()
- {
- }
-
- public delegate bool ParseDelegate(CalendarRecord record);
-
/// <summary>
/// Retrieves a vcalendar stream from a calendar list.
/// </summary>
public static string Compose(CalendarList list)
{
string stream;
- int error = Interop.Calendar.Vcalendar.Compose(list._listHandle, out stream);
+ int error = Interop.Vcalendar.Compose(list._listHandle, out stream);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "MakeVcalendar Failed with error " + error);
{
int error = 0;
IntPtr _listHandle;
- error = Interop.Calendar.Vcalendar.Parse(stream, out _listHandle);
+ error = Interop.Vcalendar.Parse(stream, out _listHandle);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Parse Vcalendar Failed [" + error + "]");
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
- public static void ParseForEach(string path, ParseDelegate callback)
+ public static void ParseForEach(string path, ParseCallback callback)
{
int error = 0;
- Interop.Calendar.Vcalendar.ParseCallback cb = (IntPtr handle, IntPtr data) =>
+ Interop.Vcalendar.ParseCallback cb = (IntPtr handle, IntPtr data) =>
{
return callback(new CalendarRecord(handle, true));
};
- error = Interop.Calendar.Vcalendar.ParseForEach(path, cb, IntPtr.Zero);
+ error = Interop.Vcalendar.ParseForEach(path, cb, IntPtr.Zero);
if (CalendarError.None != (CalendarError)error)
{
Log.Error(Globals.LogTag, "Parse foreach Vcalendar Failed [" + error + "]");
* limitations under the License.
*/
-using System;
-using System.Collections;
-using System.Collections.Generic;
+using System.Diagnostics.CodeAnalysis;
namespace Tizen.Pims.Calendar
{
/// <summary>
- /// This class provides information about views with properties.
+ /// This namespace provides information about views with properties.
/// </summary>
/// <remarks>
- /// A view is a class which describes properties of a record.
- /// A record can have basic properties of five types: integer, string, long, double, CalendarTime.
+ /// s are provided to access and handle entities. A view is a structure, which has property elements.
+ /// A view is almost the same as a database "VIEW", which limits access and guarantees performance.
+ /// A "record" represents a single row of the views.
+ /// A record can have basic properties of five types: integer, string, long, double, CalendarTime.
/// </remarks>
- public static class CalendarViews
+ namespace CalendarViews
{
- /// data type mask 0x0FF00000
- private const uint ViewMask = 0xFF000000;
- private const uint ViewBook = 0x01000000;
- private const uint ViewEvent = 0x02000000;
- private const uint ViewTodo = 0x03000000;
- private const uint ViewTimezone = 0x04000000;
- private const uint ViewAttendee = 0x05000000;
- private const uint ViewAlarm = 0x06000000;
- private const uint ViewInstanceUtimeBook = 0x07000000;
- private const uint ViewInstanceLocaltimeBook = 0x08000000;
- private const uint ViewUpdateInfo = 0x09000000;
- private const uint ViewExtended = 0x0A000000;
- private const uint ViewInstanceUtimeBookExtended = 0x0B000000;
- private const uint ViewInstanceLocaltimeBookExtended = 0x0C000000;
+ internal static class Property
+ {
+ /// data type mask 0x0FF00000
+ private const uint Mask = 0xFF000000;
+ private const uint Book = 0x01000000;
+ private const uint Event = 0x02000000;
+ private const uint Todo = 0x03000000;
+ private const uint Timezone = 0x04000000;
+ private const uint Attendee = 0x05000000;
+ private const uint Alarm = 0x06000000;
+ private const uint InstanceUtimeBook = 0x07000000;
+ private const uint InstanceLocaltimeBook = 0x08000000;
+ private const uint UpdateInfo = 0x09000000;
+ private const uint Extended = 0x0A000000;
+ private const uint InstanceUtimeBookExtended = 0x0B000000;
+ private const uint InstanceLocaltimeBookExtended = 0x0C000000;
- private const uint DataTypeMask = 0x000FF000;
- private const uint DataTypeInteger = 0x00001000;
- private const uint DataTypeString = 0x00002000;
- private const uint DataTypeDouble = 0x00003000;
- private const uint DataTypeLong = 0x00004000;
- private const uint DataTypeCaltime = 0x00005000;
- private const uint DataTypeRecord = 0x00006000;
+ private const uint DataTypeMask = 0x000FF000;
+ private const uint DataTypeInteger = 0x00001000;
+ private const uint DataTypeString = 0x00002000;
+ private const uint DataTypeDouble = 0x00003000;
+ private const uint DataTypeLong = 0x00004000;
+ private const uint DataTypeCaltime = 0x00005000;
+ private const uint DataTypeRecord = 0x00006000;
- /// property : mask 0x0000F000
- private const uint PropertyMask = 0x00F00000;
- private const uint PropertyFilter = 0x00100000;
- private const uint PropertyProjection = 0x00200000;
- private const uint PropertyReadOnly = 0x00300000;
+ /// property : mask 0x0000F000
+ private const uint PropertyMask = 0x00F00000;
+ private const uint PropertyFilter = 0x00100000;
+ private const uint PropertyProjection = 0x00200000;
+ private const uint PropertyReadOnly = 0x00300000;
- private enum PropertyIds : uint
- {
- /// book
- BookId = (ViewBook|DataTypeInteger|PropertyReadOnly),
- BookUid = (ViewBook|DataTypeString) + 1,
- BookName = (ViewBook|DataTypeString) + 2,
- BookDescription = (ViewBook|DataTypeString) + 3,
- BookColor = (ViewBook|DataTypeString) + 4,
- BookLocation = (ViewBook|DataTypeString) + 5,
- BookVisibility = (ViewBook|DataTypeInteger) + 6,
- BookSyncEvent = (ViewBook|DataTypeInteger) + 7,
- BookAccountId = (ViewBook|DataTypeInteger) + 8,
- BookStoreType = (ViewBook|DataTypeInteger) + 9,
- BookSyncData1 = (ViewBook|DataTypeString) + 10,
- BookSyncData2 = (ViewBook|DataTypeString) + 11,
- BookSyncData3 = (ViewBook|DataTypeString) + 12,
- BookSyncData4 = (ViewBook|DataTypeString) + 13,
- BookMode = (ViewBook|DataTypeInteger) + 14,
+ internal enum Id : uint
+ {
+ /// book
+ BookId = (Book|DataTypeInteger|PropertyReadOnly),
+ BookUid = (Book|DataTypeString) + 1,
+ BookName = (Book|DataTypeString) + 2,
+ BookDescription = (Book|DataTypeString) + 3,
+ BookColor = (Book|DataTypeString) + 4,
+ BookLocation = (Book|DataTypeString) + 5,
+ BookVisibility = (Book|DataTypeInteger) + 6,
+ BookSyncEvent = (Book|DataTypeInteger) + 7,
+ BookAccountId = (Book|DataTypeInteger) + 8,
+ BookStoreType = (Book|DataTypeInteger) + 9,
+ BookSyncData1 = (Book|DataTypeString) + 10,
+ BookSyncData2 = (Book|DataTypeString) + 11,
+ BookSyncData3 = (Book|DataTypeString) + 12,
+ BookSyncData4 = (Book|DataTypeString) + 13,
+ BookMode = (Book|DataTypeInteger) + 14,
- /// Event
- EventId = (ViewEvent|DataTypeInteger|PropertyReadOnly),
- EventBookId = (ViewEvent|DataTypeInteger) + 1,
- EventSummary = (ViewEvent|DataTypeString) + 2,
- EventDescription = (ViewEvent|DataTypeString) + 3,
- EventLocation = (ViewEvent|DataTypeString) + 4,
- EventCategories = (ViewEvent|DataTypeString) + 5,
- EventExdate = (ViewEvent|DataTypeString) + 6,
- EventEventStatus = (ViewEvent|DataTypeInteger) + 7,
- EventPriority = (ViewEvent|DataTypeInteger) + 8,
- EventTimezone = (ViewEvent|DataTypeInteger) + 9,
- EventContactId = (ViewEvent|DataTypeInteger) + 10,
- EventBusyStatus = (ViewEvent|DataTypeInteger) + 11,
- EventSensitivity = (ViewEvent|DataTypeInteger) + 12,
- EventUid = (ViewEvent|DataTypeString) + 13,
- EventOrganizerName = (ViewEvent|DataTypeString) + 14,
- EventOrganizerEmail = (ViewEvent|DataTypeString) + 15,
- EventMeetingStatus = (ViewEvent|DataTypeInteger) + 16,
- EventOriginalEventId = (ViewEvent|DataTypeInteger) + 17,
- EventLatitude = (ViewEvent|DataTypeDouble) + 18,
- EventLongitude = (ViewEvent|DataTypeDouble) + 19,
- EventEmailId = (ViewEvent|DataTypeInteger) + 20,
- EventCreatedTime = (ViewEvent|DataTypeLong) + 21,
- EventLastModifiedTime = (ViewEvent|DataTypeLong|PropertyReadOnly) + 22,
- EventIsDeleted = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 23,
- EventFreq = (ViewEvent|DataTypeInteger) + 24,
- EventRangeType = (ViewEvent|DataTypeInteger) + 25,
- EventUntil = (ViewEvent|DataTypeCaltime) + 26,
- EventCount = (ViewEvent|DataTypeInteger) + 27,
- EventInterval = (ViewEvent|DataTypeInteger) + 28,
- EventBysecond = (ViewEvent|DataTypeString) + 29,
- EventByminute = (ViewEvent|DataTypeString) + 30,
- EventByhour = (ViewEvent|DataTypeString) + 31,
- EventByday = (ViewEvent|DataTypeString) + 32,
- EventBymonthday = (ViewEvent|DataTypeString) + 33,
- EventByyearday = (ViewEvent|DataTypeString) + 34,
- EventByweekno = (ViewEvent|DataTypeString) + 35,
- EventBymonth = (ViewEvent|DataTypeString) + 36,
- EventBysetpos = (ViewEvent|DataTypeString) + 37,
- EventWkst = (ViewEvent|DataTypeInteger) + 38,
- EventRecurrenceId = (ViewEvent|DataTypeString) + 39,
- EventRdate = (ViewEvent|DataTypeString) + 40,
- EventHasAttendee = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 41,
- EventHasAlarm = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 42,
- EventSyncData1 = (ViewEvent|DataTypeString) + 43,
- EventSyncData2 = (ViewEvent|DataTypeString) + 44,
- EventSyncData3 = (ViewEvent|DataTypeString) + 45,
- EventSyncData4 = (ViewEvent|DataTypeString) + 46,
- EventStart = (ViewEvent|DataTypeCaltime) + 47,
- EventEnd = (ViewEvent|DataTypeCaltime) + 48,
- EventAlarm = (ViewEvent|DataTypeRecord) + 49,
- EventAttendee = (ViewEvent|DataTypeRecord) + 50,
- EventCalendarSystemType = (ViewEvent|DataTypeInteger) + 51,
- EventStartTzid = (ViewEvent|DataTypeString) + 52,
- EventEndTzid = (ViewEvent|DataTypeString) + 53,
- EventException = (ViewEvent|DataTypeRecord) + 54,
- EventExtended = (ViewEvent|DataTypeRecord) + 55,
- EventIsAllday = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 56,
- EventLinkCount = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 57,
- EventLinkBaseId = (ViewEvent|DataTypeInteger|PropertyReadOnly) + 58,
+ /// Event
+ EventId = (Event|DataTypeInteger|PropertyReadOnly),
+ EventBookId = (Event|DataTypeInteger) + 1,
+ EventSummary = (Event|DataTypeString) + 2,
+ EventDescription = (Event|DataTypeString) + 3,
+ EventLocation = (Event|DataTypeString) + 4,
+ EventCategories = (Event|DataTypeString) + 5,
+ EventExdate = (Event|DataTypeString) + 6,
+ EventEventStatus = (Event|DataTypeInteger) + 7,
+ EventPriority = (Event|DataTypeInteger) + 8,
+ EventTimezone = (Event|DataTypeInteger) + 9,
+ EventContactId = (Event|DataTypeInteger) + 10,
+ EventBusyStatus = (Event|DataTypeInteger) + 11,
+ EventSensitivity = (Event|DataTypeInteger) + 12,
+ EventUid = (Event|DataTypeString) + 13,
+ EventOrganizerName = (Event|DataTypeString) + 14,
+ EventOrganizerEmail = (Event|DataTypeString) + 15,
+ EventMeetingStatus = (Event|DataTypeInteger) + 16,
+ EventOriginalEventId = (Event|DataTypeInteger) + 17,
+ EventLatitude = (Event|DataTypeDouble) + 18,
+ EventLongitude = (Event|DataTypeDouble) + 19,
+ EventEmailId = (Event|DataTypeInteger) + 20,
+ EventCreatedTime = (Event|DataTypeLong) + 21,
+ EventLastModifiedTime = (Event|DataTypeLong|PropertyReadOnly) + 22,
+ EventIsDeleted = (Event|DataTypeInteger|PropertyReadOnly) + 23,
+ EventFreq = (Event|DataTypeInteger) + 24,
+ EventRangeType = (Event|DataTypeInteger) + 25,
+ EventUntil = (Event|DataTypeCaltime) + 26,
+ EventCount = (Event|DataTypeInteger) + 27,
+ EventInterval = (Event|DataTypeInteger) + 28,
+ EventBysecond = (Event|DataTypeString) + 29,
+ EventByminute = (Event|DataTypeString) + 30,
+ EventByhour = (Event|DataTypeString) + 31,
+ EventByday = (Event|DataTypeString) + 32,
+ EventBymonthday = (Event|DataTypeString) + 33,
+ EventByyearday = (Event|DataTypeString) + 34,
+ EventByweekno = (Event|DataTypeString) + 35,
+ EventBymonth = (Event|DataTypeString) + 36,
+ EventBysetpos = (Event|DataTypeString) + 37,
+ EventWkst = (Event|DataTypeInteger) + 38,
+ EventRecurrenceId = (Event|DataTypeString) + 39,
+ EventRdate = (Event|DataTypeString) + 40,
+ EventHasAttendee = (Event|DataTypeInteger|PropertyReadOnly) + 41,
+ EventHasAlarm = (Event|DataTypeInteger|PropertyReadOnly) + 42,
+ EventSyncData1 = (Event|DataTypeString) + 43,
+ EventSyncData2 = (Event|DataTypeString) + 44,
+ EventSyncData3 = (Event|DataTypeString) + 45,
+ EventSyncData4 = (Event|DataTypeString) + 46,
+ EventStart = (Event|DataTypeCaltime) + 47,
+ EventEnd = (Event|DataTypeCaltime) + 48,
+ EventAlarm = (Event|DataTypeRecord) + 49,
+ EventAttendee = (Event|DataTypeRecord) + 50,
+ EventCalendarSystemType = (Event|DataTypeInteger) + 51,
+ EventStartTzid = (Event|DataTypeString) + 52,
+ EventEndTzid = (Event|DataTypeString) + 53,
+ EventException = (Event|DataTypeRecord) + 54,
+ EventExtended = (Event|DataTypeRecord) + 55,
+ EventIsAllday = (Event|DataTypeInteger|PropertyReadOnly) + 56,
+ EventLinkCount = (Event|DataTypeInteger|PropertyReadOnly) + 57,
+ EventLinkBaseId = (Event|DataTypeInteger|PropertyReadOnly) + 58,
- /// Todo
- TodoId = (ViewTodo|DataTypeInteger|PropertyReadOnly),
- TodoBookId = (ViewTodo|DataTypeInteger) + 1,
- TodoSummary = (ViewTodo|DataTypeString) + 2,
- TodoDescription = (ViewTodo|DataTypeString) + 3,
- TodoLocation = (ViewTodo|DataTypeString) + 4,
- TodoCategories = (ViewTodo|DataTypeString) + 5,
- TodoStatus = (ViewTodo|DataTypeInteger) + 6,
- TodoPriority = (ViewTodo|DataTypeInteger) + 7,
- TodoSensitivity = (ViewTodo|DataTypeInteger) + 8,
- TodoUid = (ViewTodo|DataTypeString) + 9,
- TodoLatitude = (ViewTodo|DataTypeDouble) + 10,
- TodoLongitude = (ViewTodo|DataTypeDouble) + 11,
- TodoProgress = (ViewTodo|DataTypeInteger) + 12,
- TodoCreatedTime = (ViewTodo|DataTypeLong) + 13,
- TodoLastModifiedTime = (ViewTodo|DataTypeLong|PropertyReadOnly) + 14,
- TodoCompletedTime = (ViewTodo|DataTypeLong) + 15,
- TodoIsDeleted = (ViewTodo|DataTypeInteger|PropertyReadOnly) + 16,
- TodoFreq = (ViewTodo|DataTypeInteger) + 17,
- TodoRangeType = (ViewTodo|DataTypeInteger) + 18,
- TodoUntil = (ViewTodo|DataTypeCaltime) + 19,
- TodoCount = (ViewTodo|DataTypeInteger) + 20,
- TodoIntegererval = (ViewTodo|DataTypeInteger) + 21,
- TodoBysecond = (ViewTodo|DataTypeString) + 22,
- TodoByminute = (ViewTodo|DataTypeString) + 23,
- TodoByhour = (ViewTodo|DataTypeString) + 24,
- TodoByday = (ViewTodo|DataTypeString) + 25,
- TodoBymonthday = (ViewTodo|DataTypeString) + 26,
- TodoByyearday = (ViewTodo|DataTypeString) + 27,
- TodoByweekno = (ViewTodo|DataTypeString) + 28,
- TodoBymonth = (ViewTodo|DataTypeString) + 29,
- TodoBysetpos = (ViewTodo|DataTypeString) + 30,
- TodoWkst = (ViewTodo|DataTypeInteger) + 31,
- TodoHasAlarm = (ViewTodo|DataTypeInteger|PropertyReadOnly) + 32,
- TodoSyncData1 = (ViewTodo|DataTypeString) + 33,
- TodoSyncData2 = (ViewTodo|DataTypeString) + 34,
- TodoSyncData3 = (ViewTodo|DataTypeString) + 35,
- TodoSyncData4 = (ViewTodo|DataTypeString) + 36,
- TodoStart = (ViewTodo|DataTypeCaltime) + 37,
- TodoDue = (ViewTodo|DataTypeCaltime) + 38,
- TodoAlarm = (ViewTodo|DataTypeRecord) + 39,
- TodoStartTzid = (ViewTodo|DataTypeString) + 40,
- TodoDueTzid = (ViewTodo|DataTypeString) + 41,
- TodoOrganizerName = (ViewTodo|DataTypeString) + 42,
- TodoOrganizerEmail = (ViewTodo|DataTypeString) + 43,
- TodoHasAttendee = (ViewTodo|DataTypeInteger|PropertyReadOnly) + 44,
- TodoAttendee = (ViewTodo|DataTypeRecord) + 45,
- TodoExtended = (ViewTodo|DataTypeRecord) + 46,
- TodoIsAllday = (ViewTodo|DataTypeInteger|PropertyReadOnly) + 47,
+ /// Todo
+ TodoId = (Todo|DataTypeInteger|PropertyReadOnly),
+ TodoBookId = (Todo|DataTypeInteger) + 1,
+ TodoSummary = (Todo|DataTypeString) + 2,
+ TodoDescription = (Todo|DataTypeString) + 3,
+ TodoLocation = (Todo|DataTypeString) + 4,
+ TodoCategories = (Todo|DataTypeString) + 5,
+ TodoStatus = (Todo|DataTypeInteger) + 6,
+ TodoPriority = (Todo|DataTypeInteger) + 7,
+ TodoSensitivity = (Todo|DataTypeInteger) + 8,
+ TodoUid = (Todo|DataTypeString) + 9,
+ TodoLatitude = (Todo|DataTypeDouble) + 10,
+ TodoLongitude = (Todo|DataTypeDouble) + 11,
+ TodoProgress = (Todo|DataTypeInteger) + 12,
+ TodoCreatedTime = (Todo|DataTypeLong) + 13,
+ TodoLastModifiedTime = (Todo|DataTypeLong|PropertyReadOnly) + 14,
+ TodoCompletedTime = (Todo|DataTypeLong) + 15,
+ TodoIsDeleted = (Todo|DataTypeInteger|PropertyReadOnly) + 16,
+ TodoFreq = (Todo|DataTypeInteger) + 17,
+ TodoRangeType = (Todo|DataTypeInteger) + 18,
+ TodoUntil = (Todo|DataTypeCaltime) + 19,
+ TodoCount = (Todo|DataTypeInteger) + 20,
+ TodoInterval = (Todo|DataTypeInteger) + 21,
+ TodoBysecond = (Todo|DataTypeString) + 22,
+ TodoByminute = (Todo|DataTypeString) + 23,
+ TodoByhour = (Todo|DataTypeString) + 24,
+ TodoByday = (Todo|DataTypeString) + 25,
+ TodoBymonthday = (Todo|DataTypeString) + 26,
+ TodoByyearday = (Todo|DataTypeString) + 27,
+ TodoByweekno = (Todo|DataTypeString) + 28,
+ TodoBymonth = (Todo|DataTypeString) + 29,
+ TodoBysetpos = (Todo|DataTypeString) + 30,
+ TodoWkst = (Todo|DataTypeInteger) + 31,
+ TodoHasAlarm = (Todo|DataTypeInteger|PropertyReadOnly) + 32,
+ TodoSyncData1 = (Todo|DataTypeString) + 33,
+ TodoSyncData2 = (Todo|DataTypeString) + 34,
+ TodoSyncData3 = (Todo|DataTypeString) + 35,
+ TodoSyncData4 = (Todo|DataTypeString) + 36,
+ TodoStart = (Todo|DataTypeCaltime) + 37,
+ TodoDue = (Todo|DataTypeCaltime) + 38,
+ TodoAlarm = (Todo|DataTypeRecord) + 39,
+ TodoStartTzid = (Todo|DataTypeString) + 40,
+ TodoDueTzid = (Todo|DataTypeString) + 41,
+ TodoOrganizerName = (Todo|DataTypeString) + 42,
+ TodoOrganizerEmail = (Todo|DataTypeString) + 43,
+ TodoHasAttendee = (Todo|DataTypeInteger|PropertyReadOnly) + 44,
+ TodoAttendee = (Todo|DataTypeRecord) + 45,
+ TodoExtended = (Todo|DataTypeRecord) + 46,
+ TodoIsAllday = (Todo|DataTypeInteger|PropertyReadOnly) + 47,
- /// Timezone
- TimezoneId = (ViewTimezone|DataTypeInteger|PropertyReadOnly),
- TimezoneTzOffsetFromGmt = (ViewTimezone|DataTypeInteger) + 1,
- TimezoneStandardName = (ViewTimezone|DataTypeString) + 2,
- TimezoneStdStartMonth = (ViewTimezone|DataTypeInteger) + 3,
- TimezoneStdStartPositionOfWeek = (ViewTimezone|DataTypeInteger) + 4,
- TimezoneStdStartDay = (ViewTimezone|DataTypeInteger) + 5,
- TimezoneStdStartHour = (ViewTimezone|DataTypeInteger) + 6,
- TimezoneStandardBias = (ViewTimezone|DataTypeInteger) + 7,
- TimezoneDayLightName = (ViewTimezone|DataTypeString) + 8,
- TimezoneDayLightStartMonth = (ViewTimezone|DataTypeInteger) + 9,
- TimezoneDayLightStartPositionOfWeek = (ViewTimezone|DataTypeInteger) + 10,
- TimezoneDayLightStartDay = (ViewTimezone|DataTypeInteger) + 11,
- TimezoneDayLightStartHour = (ViewTimezone|DataTypeInteger) + 12,
- TimezoneDayLightBias = (ViewTimezone|DataTypeInteger) + 13,
- TimezoneCalendarId = (ViewTimezone|DataTypeInteger) + 14,
+ /// Timezone
+ TimezoneId = (Timezone|DataTypeInteger|PropertyReadOnly),
+ TimezoneTzOffsetFromGmt = (Timezone|DataTypeInteger) + 1,
+ TimezoneStandardName = (Timezone|DataTypeString) + 2,
+ TimezoneStdStartMonth = (Timezone|DataTypeInteger) + 3,
+ TimezoneStdStartPositionOfWeek = (Timezone|DataTypeInteger) + 4,
+ TimezoneStdStartDay = (Timezone|DataTypeInteger) + 5,
+ TimezoneStdStartHour = (Timezone|DataTypeInteger) + 6,
+ TimezoneStandardBias = (Timezone|DataTypeInteger) + 7,
+ TimezoneDayLightName = (Timezone|DataTypeString) + 8,
+ TimezoneDayLightStartMonth = (Timezone|DataTypeInteger) + 9,
+ TimezoneDayLightStartPositionOfWeek = (Timezone|DataTypeInteger) + 10,
+ TimezoneDayLightStartDay = (Timezone|DataTypeInteger) + 11,
+ TimezoneDayLightStartHour = (Timezone|DataTypeInteger) + 12,
+ TimezoneDayLightBias = (Timezone|DataTypeInteger) + 13,
+ TimezoneCalendarId = (Timezone|DataTypeInteger) + 14,
- AttendeeNumber = (ViewAttendee|DataTypeString),
- AttendeeCutype = (ViewAttendee|DataTypeInteger) + 1,
- AttendeeCtIndex = (ViewAttendee|DataTypeInteger) + 2,
- AttendeeUid = (ViewAttendee|DataTypeString) + 3,
- AttendeeGroup = (ViewAttendee|DataTypeString) + 4,
- AttendeeEmail = (ViewAttendee|DataTypeString) + 5,
- AttendeeRole = (ViewAttendee|DataTypeInteger) + 6,
- AttendeeStatus = (ViewAttendee|DataTypeInteger) + 7,
- AttendeeRsvp = (ViewAttendee|DataTypeInteger) + 8,
- AttendeeDelegateeUri = (ViewAttendee|DataTypeString) + 9,
- AttendeeDelegatorUri = (ViewAttendee|DataTypeString) + 10,
- AttendeeName = (ViewAttendee|DataTypeString) + 11,
- AttendeeMember = (ViewAttendee|DataTypeString) + 12,
- AttendeeParentId = (ViewAttendee|DataTypeInteger|PropertyReadOnly) + 13,
+ AttendeeNumber = (Attendee|DataTypeString),
+ AttendeeCutype = (Attendee|DataTypeInteger) + 1,
+ AttendeeCtIndex = (Attendee|DataTypeInteger) + 2,
+ AttendeeUid = (Attendee|DataTypeString) + 3,
+ AttendeeGroup = (Attendee|DataTypeString) + 4,
+ AttendeeEmail = (Attendee|DataTypeString) + 5,
+ AttendeeRole = (Attendee|DataTypeInteger) + 6,
+ AttendeeStatus = (Attendee|DataTypeInteger) + 7,
+ AttendeeRsvp = (Attendee|DataTypeInteger) + 8,
+ AttendeeDelegateeUri = (Attendee|DataTypeString) + 9,
+ AttendeeDelegatorUri = (Attendee|DataTypeString) + 10,
+ AttendeeName = (Attendee|DataTypeString) + 11,
+ AttendeeMember = (Attendee|DataTypeString) + 12,
+ AttendeeParentId = (Attendee|DataTypeInteger|PropertyReadOnly) + 13,
- AlarmTick = (ViewAlarm|DataTypeInteger),
- AlarmTickUnit = (ViewAlarm|DataTypeInteger) + 1,
- AlarmDescription = (ViewAlarm|DataTypeString) + 2,
- AlarmParentId = (ViewAlarm|DataTypeInteger|PropertyReadOnly) + 3,
- AlarmSummary = (ViewAlarm|DataTypeString) + 4,
- AlarmAction = (ViewAlarm|DataTypeInteger) + 5,
- AlarmAttach = (ViewAlarm|DataTypeString) + 6,
- AlarmAlarm = (ViewAlarm|DataTypeCaltime) + 7,
+ AlarmTick = (Alarm|DataTypeInteger),
+ AlarmTickUnit = (Alarm|DataTypeInteger) + 1,
+ AlarmDescription = (Alarm|DataTypeString) + 2,
+ AlarmParentId = (Alarm|DataTypeInteger|PropertyReadOnly) + 3,
+ AlarmSummary = (Alarm|DataTypeString) + 4,
+ AlarmAction = (Alarm|DataTypeInteger) + 5,
+ AlarmAttach = (Alarm|DataTypeString) + 6,
+ AlarmAlarm = (Alarm|DataTypeCaltime) + 7,
- InstanceUtimeBookEventId = (ViewInstanceUtimeBook|DataTypeInteger),
- InstanceUtimeBookStart = (ViewInstanceUtimeBook|DataTypeCaltime) + 1,
- InstanceUtimeBookEnd = (ViewInstanceUtimeBook|DataTypeCaltime) + 2,
- InstanceUtimeBookSummary = (ViewInstanceUtimeBook|DataTypeString) + 3,
- InstanceUtimeBookLocation = (ViewInstanceUtimeBook|DataTypeString) + 4,
- InstanceUtimeBookBookId = (ViewInstanceUtimeBook|DataTypeInteger) + 5,
- InstanceUtimeBookDescription = (ViewInstanceUtimeBook|DataTypeString) + 6,
- InstanceUtimeBookBusyStatus = (ViewInstanceUtimeBook|DataTypeInteger) + 7,
- InstanceUtimeBookEventStatus = (ViewInstanceUtimeBook|DataTypeInteger) + 8,
- InstanceUtimeBookPriority = (ViewInstanceUtimeBook|DataTypeInteger) + 9,
- InstanceUtimeBookSensitivity = (ViewInstanceUtimeBook|DataTypeInteger) + 10,
- InstanceUtimeBookHasRrule = (ViewInstanceUtimeBook|DataTypeInteger) + 11,
- InstanceUtimeBookLatitude = (ViewInstanceUtimeBook|DataTypeDouble) + 12,
- InstanceUtimeBookLongitude = (ViewInstanceUtimeBook|DataTypeDouble) + 13,
- InstanceUtimeBookHasAlarm = (ViewInstanceUtimeBook|DataTypeInteger) + 14,
- InstanceUtimeBookOriginalEventId = (ViewInstanceUtimeBook|DataTypeInteger) + 15,
- InstanceUtimeBookLastModifiedtime = (ViewInstanceUtimeBook|DataTypeLong) + 16,
- InstanceUtimeBookSyncData1 = (ViewInstanceUtimeBook|DataTypeString) + 17,
+ InstanceUtimeBookEventId = (InstanceUtimeBook|DataTypeInteger),
+ InstanceUtimeBookStart = (InstanceUtimeBook|DataTypeCaltime) + 1,
+ InstanceUtimeBookEnd = (InstanceUtimeBook|DataTypeCaltime) + 2,
+ InstanceUtimeBookSummary = (InstanceUtimeBook|DataTypeString) + 3,
+ InstanceUtimeBookLocation = (InstanceUtimeBook|DataTypeString) + 4,
+ InstanceUtimeBookBookId = (InstanceUtimeBook|DataTypeInteger) + 5,
+ InstanceUtimeBookDescription = (InstanceUtimeBook|DataTypeString) + 6,
+ InstanceUtimeBookBusyStatus = (InstanceUtimeBook|DataTypeInteger) + 7,
+ InstanceUtimeBookEventStatus = (InstanceUtimeBook|DataTypeInteger) + 8,
+ InstanceUtimeBookPriority = (InstanceUtimeBook|DataTypeInteger) + 9,
+ InstanceUtimeBookSensitivity = (InstanceUtimeBook|DataTypeInteger) + 10,
+ InstanceUtimeBookHasRrule = (InstanceUtimeBook|DataTypeInteger) + 11,
+ InstanceUtimeBookLatitude = (InstanceUtimeBook|DataTypeDouble) + 12,
+ InstanceUtimeBookLongitude = (InstanceUtimeBook|DataTypeDouble) + 13,
+ InstanceUtimeBookHasAlarm = (InstanceUtimeBook|DataTypeInteger) + 14,
+ InstanceUtimeBookOriginalEventId = (InstanceUtimeBook|DataTypeInteger) + 15,
+ InstanceUtimeBookLastModifiedTime = (InstanceUtimeBook|DataTypeLong) + 16,
+ InstanceUtimeBookSyncData1 = (InstanceUtimeBook|DataTypeString) + 17,
- InstanceLocaltimeBookEventId = (ViewInstanceLocaltimeBook|DataTypeInteger),
- InstanceLocaltimeBookStart = (ViewInstanceLocaltimeBook|DataTypeCaltime) + 1,
- InstanceLocaltimeBookEnd = (ViewInstanceLocaltimeBook|DataTypeCaltime) + 2,
- InstanceLocaltimeBookSummary = (ViewInstanceLocaltimeBook|DataTypeString) + 3,
- InstanceLocaltimeBookLocation = (ViewInstanceLocaltimeBook|DataTypeString) + 4,
- InstanceLocaltimeBookBookId = (ViewInstanceLocaltimeBook|DataTypeInteger) + 5,
- InstanceLocaltimeBookDescription = (ViewInstanceLocaltimeBook|DataTypeString) + 6,
- InstanceLocaltimeBookBusyStatus = (ViewInstanceLocaltimeBook|DataTypeInteger) + 7,
- InstanceLocaltimeBookEventStatus = (ViewInstanceLocaltimeBook|DataTypeInteger) + 8,
- InstanceLocaltimeBookPriority = (ViewInstanceLocaltimeBook|DataTypeInteger) + 9,
- InstanceLocaltimeBookSensitivity = (ViewInstanceLocaltimeBook|DataTypeInteger) + 10,
- InstanceLocaltimeBookHasRrule = (ViewInstanceLocaltimeBook|DataTypeInteger) + 11,
- InstanceLocaltimeBookLatitude = (ViewInstanceLocaltimeBook|DataTypeDouble) + 12,
- InstanceLocaltimeBookLongitude = (ViewInstanceLocaltimeBook|DataTypeDouble) + 13,
- InstanceLocaltimeBookHasAlarm = (ViewInstanceLocaltimeBook|DataTypeInteger) + 14,
- InstanceLocaltimeBookOriginalEventId = (ViewInstanceLocaltimeBook|DataTypeInteger) + 15,
- InstanceLocaltimeBookLastModifiedTime = (ViewInstanceLocaltimeBook|DataTypeLong) + 16,
- InstanceLocaltimeBookSyncData1 = (ViewInstanceLocaltimeBook|DataTypeString) + 17,
- InstanceLocaltimeBookIsAllday = (ViewInstanceLocaltimeBook|DataTypeInteger|PropertyReadOnly) + 18,
+ InstanceLocaltimeBookEventId = (InstanceLocaltimeBook|DataTypeInteger),
+ InstanceLocaltimeBookStart = (InstanceLocaltimeBook|DataTypeCaltime) + 1,
+ InstanceLocaltimeBookEnd = (InstanceLocaltimeBook|DataTypeCaltime) + 2,
+ InstanceLocaltimeBookSummary = (InstanceLocaltimeBook|DataTypeString) + 3,
+ InstanceLocaltimeBookLocation = (InstanceLocaltimeBook|DataTypeString) + 4,
+ InstanceLocaltimeBookBookId = (InstanceLocaltimeBook|DataTypeInteger) + 5,
+ InstanceLocaltimeBookDescription = (InstanceLocaltimeBook|DataTypeString) + 6,
+ InstanceLocaltimeBookBusyStatus = (InstanceLocaltimeBook|DataTypeInteger) + 7,
+ InstanceLocaltimeBookEventStatus = (InstanceLocaltimeBook|DataTypeInteger) + 8,
+ InstanceLocaltimeBookPriority = (InstanceLocaltimeBook|DataTypeInteger) + 9,
+ InstanceLocaltimeBookSensitivity = (InstanceLocaltimeBook|DataTypeInteger) + 10,
+ InstanceLocaltimeBookHasRrule = (InstanceLocaltimeBook|DataTypeInteger) + 11,
+ InstanceLocaltimeBookLatitude = (InstanceLocaltimeBook|DataTypeDouble) + 12,
+ InstanceLocaltimeBookLongitude = (InstanceLocaltimeBook|DataTypeDouble) + 13,
+ InstanceLocaltimeBookHasAlarm = (InstanceLocaltimeBook|DataTypeInteger) + 14,
+ InstanceLocaltimeBookOriginalEventId = (InstanceLocaltimeBook|DataTypeInteger) + 15,
+ InstanceLocaltimeBookLastModifiedTime = (InstanceLocaltimeBook|DataTypeLong) + 16,
+ InstanceLocaltimeBookSyncData1 = (InstanceLocaltimeBook|DataTypeString) + 17,
+ InstanceLocaltimeBookIsAllday = (InstanceLocaltimeBook|DataTypeInteger|PropertyReadOnly) + 18,
- InstanceUtimeBookExtendedEventId = (ViewInstanceUtimeBookExtended|DataTypeInteger),
- InstanceUtimeBookExtendedStart = (ViewInstanceUtimeBookExtended|DataTypeCaltime) + 1,
- InstanceUtimeBookExtendedEnd = (ViewInstanceUtimeBookExtended|DataTypeCaltime) + 2,
- InstanceUtimeBookExtendedSummary = (ViewInstanceUtimeBookExtended|DataTypeString) + 3,
- InstanceUtimeBookExtendedLocation = (ViewInstanceUtimeBookExtended|DataTypeString) + 4,
- InstanceUtimeBookExtendedBookId = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 5,
- InstanceUtimeBookExtendedDescription = (ViewInstanceUtimeBookExtended|DataTypeString) + 6,
- InstanceUtimeBookExtendedBusyStatus = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 7,
- InstanceUtimeBookExtendedEventStatus = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 8,
- InstanceUtimeBookExtendedPriority = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 9,
- InstanceUtimeBookExtendedSensitivity = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 10,
- InstanceUtimeBookExtendedHasRrule = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 11,
- InstanceUtimeBookExtendedLatitude = (ViewInstanceUtimeBookExtended|DataTypeDouble) + 12,
- InstanceUtimeBookExtendedLongitude = (ViewInstanceUtimeBookExtended|DataTypeDouble) + 13,
- InstanceUtimeBookExtendedHasAlarm = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 14,
- InstanceUtimeBookExtendedOriginalEventId = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 15,
- InstanceUtimeBookExtendedLastModifiedTime = (ViewInstanceUtimeBookExtended|DataTypeLong) + 16,
- InstanceUtimeBookExtendedSyncData1 = (ViewInstanceUtimeBookExtended|DataTypeString) + 17,
- InstanceUtimeBookExtendedOrganizerName = (ViewInstanceUtimeBookExtended|DataTypeString) + 18,
- InstanceUtimeBookExtendedCategories = (ViewInstanceUtimeBookExtended|DataTypeString) + 19,
- InstanceUtimeBookExtendedHasAttendee = (ViewInstanceUtimeBookExtended|DataTypeInteger) + 20,
- InstanceUtimeBookExtendedSyncData2 = (ViewInstanceUtimeBookExtended|DataTypeString) + 21,
- InstanceUtimeBookExtendedSyncData3 = (ViewInstanceUtimeBookExtended|DataTypeString) + 22,
- InstanceUtimeBookExtendedSyncData4 = (ViewInstanceUtimeBookExtended|DataTypeString) + 23,
+ InstanceUtimeBookExtendedEventId = (InstanceUtimeBookExtended|DataTypeInteger),
+ InstanceUtimeBookExtendedStart = (InstanceUtimeBookExtended|DataTypeCaltime) + 1,
+ InstanceUtimeBookExtendedEnd = (InstanceUtimeBookExtended|DataTypeCaltime) + 2,
+ InstanceUtimeBookExtendedSummary = (InstanceUtimeBookExtended|DataTypeString) + 3,
+ InstanceUtimeBookExtendedLocation = (InstanceUtimeBookExtended|DataTypeString) + 4,
+ InstanceUtimeBookExtendedBookId = (InstanceUtimeBookExtended|DataTypeInteger) + 5,
+ InstanceUtimeBookExtendedDescription = (InstanceUtimeBookExtended|DataTypeString) + 6,
+ InstanceUtimeBookExtendedBusyStatus = (InstanceUtimeBookExtended|DataTypeInteger) + 7,
+ InstanceUtimeBookExtendedEventStatus = (InstanceUtimeBookExtended|DataTypeInteger) + 8,
+ InstanceUtimeBookExtendedPriority = (InstanceUtimeBookExtended|DataTypeInteger) + 9,
+ InstanceUtimeBookExtendedSensitivity = (InstanceUtimeBookExtended|DataTypeInteger) + 10,
+ InstanceUtimeBookExtendedHasRrule = (InstanceUtimeBookExtended|DataTypeInteger) + 11,
+ InstanceUtimeBookExtendedLatitude = (InstanceUtimeBookExtended|DataTypeDouble) + 12,
+ InstanceUtimeBookExtendedLongitude = (InstanceUtimeBookExtended|DataTypeDouble) + 13,
+ InstanceUtimeBookExtendedHasAlarm = (InstanceUtimeBookExtended|DataTypeInteger) + 14,
+ InstanceUtimeBookExtendedOriginalEventId = (InstanceUtimeBookExtended|DataTypeInteger) + 15,
+ InstanceUtimeBookExtendedLastModifiedTime = (InstanceUtimeBookExtended|DataTypeLong) + 16,
+ InstanceUtimeBookExtendedSyncData1 = (InstanceUtimeBookExtended|DataTypeString) + 17,
+ InstanceUtimeBookExtendedOrganizerName = (InstanceUtimeBookExtended|DataTypeString) + 18,
+ InstanceUtimeBookExtendedCategories = (InstanceUtimeBookExtended|DataTypeString) + 19,
+ InstanceUtimeBookExtendedHasAttendee = (InstanceUtimeBookExtended|DataTypeInteger) + 20,
+ InstanceUtimeBookExtendedSyncData2 = (InstanceUtimeBookExtended|DataTypeString) + 21,
+ InstanceUtimeBookExtendedSyncData3 = (InstanceUtimeBookExtended|DataTypeString) + 22,
+ InstanceUtimeBookExtendedSyncData4 = (InstanceUtimeBookExtended|DataTypeString) + 23,
- InstanceLocaltimeBookExtendedEventId = (ViewInstanceLocaltimeBookExtended|DataTypeInteger),
- InstanceLocaltimeBookExtendedStart = (ViewInstanceLocaltimeBookExtended|DataTypeCaltime) + 1,
- InstanceLocaltimeBookExtendedEnd = (ViewInstanceLocaltimeBookExtended|DataTypeCaltime) + 2,
- InstanceLocaltimeBookExtendedSummary = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 3,
- InstanceLocaltimeBookExtendedLocation = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 4,
- InstanceLocaltimeBookExtendedBookId = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 5,
- InstanceLocaltimeBookExtendedDescription = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 6,
- InstanceLocaltimeBookExtendedBusyStatus = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 7,
- InstanceLocaltimeBookExtendedEventStatus = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 8,
- InstanceLocaltimeBookExtendedPriority = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 9,
- InstanceLocaltimeBookExtendedSensitivity = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 10,
- InstanceLocaltimeBookExtendedHasRrule = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 11,
- InstanceLocaltimeBookExtendedLatitude = (ViewInstanceLocaltimeBookExtended|DataTypeDouble) + 12,
- InstanceLocaltimeBookExtendedLongitude = (ViewInstanceLocaltimeBookExtended|DataTypeDouble) + 13,
- InstanceLocaltimeBookExtendedHasAlarm = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 14,
- InstanceLocaltimeBookExtendedOriginalEventId = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 15,
- InstanceLocaltimeBookExtendedLastModifiedTime = (ViewInstanceLocaltimeBookExtended|DataTypeLong) + 16,
- InstanceLocaltimeBookExtendedSyncData1 = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 17,
- InstanceLocaltimeBookExtendedOrganizerName = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 18,
- InstanceLocaltimeBookExtendedCategories = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 19,
- InstanceLocaltimeBookExtendedHasAttendee = (ViewInstanceLocaltimeBookExtended|DataTypeInteger) + 20,
- InstanceLocaltimeBookExtendedSyncData2 = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 21,
- InstanceLocaltimeBookExtendedSyncData3 = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 22,
- InstanceLocaltimeBookExtendedSyncData4 = (ViewInstanceLocaltimeBookExtended|DataTypeString) + 23,
- InstanceLocaltimeBookExtendedIsAllday = (ViewInstanceLocaltimeBookExtended|DataTypeInteger|PropertyReadOnly) + 24,
+ InstanceLocaltimeBookExtendedEventId = (InstanceLocaltimeBookExtended|DataTypeInteger),
+ InstanceLocaltimeBookExtendedStart = (InstanceLocaltimeBookExtended|DataTypeCaltime) + 1,
+ InstanceLocaltimeBookExtendedEnd = (InstanceLocaltimeBookExtended|DataTypeCaltime) + 2,
+ InstanceLocaltimeBookExtendedSummary = (InstanceLocaltimeBookExtended|DataTypeString) + 3,
+ InstanceLocaltimeBookExtendedLocation = (InstanceLocaltimeBookExtended|DataTypeString) + 4,
+ InstanceLocaltimeBookExtendedBookId = (InstanceLocaltimeBookExtended|DataTypeInteger) + 5,
+ InstanceLocaltimeBookExtendedDescription = (InstanceLocaltimeBookExtended|DataTypeString) + 6,
+ InstanceLocaltimeBookExtendedBusyStatus = (InstanceLocaltimeBookExtended|DataTypeInteger) + 7,
+ InstanceLocaltimeBookExtendedEventStatus = (InstanceLocaltimeBookExtended|DataTypeInteger) + 8,
+ InstanceLocaltimeBookExtendedPriority = (InstanceLocaltimeBookExtended|DataTypeInteger) + 9,
+ InstanceLocaltimeBookExtendedSensitivity = (InstanceLocaltimeBookExtended|DataTypeInteger) + 10,
+ InstanceLocaltimeBookExtendedHasRrule = (InstanceLocaltimeBookExtended|DataTypeInteger) + 11,
+ InstanceLocaltimeBookExtendedLatitude = (InstanceLocaltimeBookExtended|DataTypeDouble) + 12,
+ InstanceLocaltimeBookExtendedLongitude = (InstanceLocaltimeBookExtended|DataTypeDouble) + 13,
+ InstanceLocaltimeBookExtendedHasAlarm = (InstanceLocaltimeBookExtended|DataTypeInteger) + 14,
+ InstanceLocaltimeBookExtendedOriginalEventId = (InstanceLocaltimeBookExtended|DataTypeInteger) + 15,
+ InstanceLocaltimeBookExtendedLastModifiedTime = (InstanceLocaltimeBookExtended|DataTypeLong) + 16,
+ InstanceLocaltimeBookExtendedSyncData1 = (InstanceLocaltimeBookExtended|DataTypeString) + 17,
+ InstanceLocaltimeBookExtendedOrganizerName = (InstanceLocaltimeBookExtended|DataTypeString) + 18,
+ InstanceLocaltimeBookExtendedCategories = (InstanceLocaltimeBookExtended|DataTypeString) + 19,
+ InstanceLocaltimeBookExtendedHasAttendee = (InstanceLocaltimeBookExtended|DataTypeInteger) + 20,
+ InstanceLocaltimeBookExtendedSyncData2 = (InstanceLocaltimeBookExtended|DataTypeString) + 21,
+ InstanceLocaltimeBookExtendedSyncData3 = (InstanceLocaltimeBookExtended|DataTypeString) + 22,
+ InstanceLocaltimeBookExtendedSyncData4 = (InstanceLocaltimeBookExtended|DataTypeString) + 23,
+ InstanceLocaltimeBookExtendedIsAllday = (InstanceLocaltimeBookExtended|DataTypeInteger|PropertyReadOnly) + 24,
- UpdateInfoId = (ViewUpdateInfo|DataTypeInteger),
- UpdateInfoCalendarId = (ViewUpdateInfo|DataTypeInteger) + 1,
- UpdateInfoType = (ViewUpdateInfo|DataTypeInteger) + 2,
- UpdateInfoVersion = (ViewUpdateInfo|DataTypeInteger) + 3,
+ UpdateInfoId = (UpdateInfo|DataTypeInteger),
+ UpdateInfoCalendarId = (UpdateInfo|DataTypeInteger) + 1,
+ UpdateInfoType = (UpdateInfo|DataTypeInteger) + 2,
+ UpdateInfoVersion = (UpdateInfo|DataTypeInteger) + 3,
- ExtendedId = (ViewExtended|DataTypeInteger|PropertyReadOnly),
- ExtendedRecordId = (ViewExtended|DataTypeInteger) + 1,
- ExtendedRecordType = (ViewExtended|DataTypeInteger) + 2,
- ExtendedKey = (ViewExtended|DataTypeString) + 3,
- ExtendedValue = (ViewExtended|DataTypeString) + 4,
+ ExtendedId = (Extended|DataTypeInteger|PropertyReadOnly),
+ ExtendedRecordId = (Extended|DataTypeInteger) + 1,
+ ExtendedRecordType = (Extended|DataTypeInteger) + 2,
+ ExtendedKey = (Extended|DataTypeString) + 3,
+ ExtendedValue = (Extended|DataTypeString) + 4,
+ }
}
- ///average size
- internal const uint AverageSizeOfRecord = 56;
+ internal static class Record
+ {
+ ///average size
+ internal const uint AverageSize = 56;
+ }
+ /// <summary>
+ /// Describes properies of a Book record.
+ /// </summary>
public static class Book
{
/// <summary>
/// <summary>
/// DB record ID of the calendar book
/// </summary>
- public const uint Id = (uint)PropertyIds.BookId;
+ public const uint Id = (uint)Property.Id.BookId;
/// <summary>
/// Unique identifier
/// </summary>
- public const uint Uid = (uint)PropertyIds.BookUid;
+ public const uint Uid = (uint)Property.Id.BookUid;
/// <summary>
/// Calendar book name
/// </summary>
- public const uint Name = (uint)PropertyIds.BookName;
+ public const uint Name = (uint)Property.Id.BookName;
/// <summary>
/// Calendar book description
/// </summary>
- public const uint Description = (uint)PropertyIds.BookDescription;
+ public const uint Description = (uint)Property.Id.BookDescription;
/// <summary>
/// Calendar book color for UX
/// </summary>
- public const uint Color = (uint)PropertyIds.BookColor;
+ public const uint Color = (uint)Property.Id.BookColor;
/// <summary>
/// Location of the event
/// </summary>
- public const uint Location = (uint)PropertyIds.BookLocation;
+ public const uint Location = (uint)Property.Id.BookLocation;
/// <summary>
/// Visibility of the calendar book for UX
/// </summary>
- public const uint Visibility = (uint)PropertyIds.BookVisibility;
+ public const uint Visibility = (uint)Property.Id.BookVisibility;
/// <summary>
/// Currently NOT Used
/// </summary>
- public const uint SyncEvent = (uint)PropertyIds.BookSyncEvent;
+ public const uint SyncEvent = (uint)Property.Id.BookSyncEvent;
/// <summary>
/// Account for this calendar
/// </summary>
- public const uint AccountId = (uint)PropertyIds.BookAccountId;
+ public const uint AccountId = (uint)Property.Id.BookAccountId;
/// <summary>
/// Type of calendar contents(refer to the CalendarTypes.StoreType)
/// </summary>
- public const uint StoreType = (uint)PropertyIds.BookStoreType;
+ public const uint StoreType = (uint)Property.Id.BookStoreType;
/// <summary>
/// Generic data for use by syncing
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.BookSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.BookSyncData1;
/// <summary>
/// Generic data for use by syncing
/// </summary>
- public const uint SyncData2 = (uint)PropertyIds.BookSyncData2;
+ public const uint SyncData2 = (uint)Property.Id.BookSyncData2;
/// <summary>
/// Generic data for use by syncing
/// </summary>
- public const uint SyncData3 = (uint)PropertyIds.BookSyncData3;
+ public const uint SyncData3 = (uint)Property.Id.BookSyncData3;
/// <summary>
/// Generic data for use by syncing
/// </summary>
- public const uint SyncData4 = (uint)PropertyIds.BookSyncData4;
+ public const uint SyncData4 = (uint)Property.Id.BookSyncData4;
/// <summary>
/// Calendar book mode(refer to the CalendarTypes.BookMode)
/// </summary>
- public const uint Mode = (uint)PropertyIds.BookMode;
+ public const uint Mode = (uint)Property.Id.BookMode;
}
+ /// <summary>
+ /// Describes properies of a Event record.
+ /// </summary>
public static class Event
{
/// <summary>
/// <summary>
/// DB record ID of the event
/// </summary>
- public const uint Id = (uint)PropertyIds.EventId;
+ public const uint Id = (uint)Property.Id.EventId;
/// <summary>
/// ID of the calendar book to which the event belongs
/// </summary>
- public const uint BookId = (uint)PropertyIds.EventBookId;
+ public const uint BookId = (uint)Property.Id.EventBookId;
/// <summary>
/// The short description of the event
/// </summary>
- public const uint Summary = (uint)PropertyIds.EventSummary;
+ public const uint Summary = (uint)Property.Id.EventSummary;
/// <summary>
/// The description of the event
/// </summary>
- public const uint Description = (uint)PropertyIds.EventDescription;
+ public const uint Description = (uint)Property.Id.EventDescription;
/// <summary>
/// The location of the event
/// </summary>
- public const uint Location = (uint)PropertyIds.EventLocation;
+ public const uint Location = (uint)Property.Id.EventLocation;
/// <summary>
/// The category of the event. For example APPOINTMENT, BIRTHDAY
/// </summary>
- public const uint Categories = (uint)PropertyIds.EventCategories;
+ public const uint Categories = (uint)Property.Id.EventCategories;
/// <summary>
/// The exception list of the event. If this event has a recurrence rule, the instance of the exdate is removed. Format is "YYYYMMDD"(allday event) or "YYYYMMDDTHHMMSS". Multiple exceptions can be included with a comma
/// </summary>
- public const uint Exdate = (uint)PropertyIds.EventExdate;
+ public const uint Exdate = (uint)Property.Id.EventExdate;
/// <summary>
/// The status of event(refer to the CalendarTypes.EventStatus).
/// </summary>
- public const uint EventStatus = (uint)PropertyIds.EventEventStatus;
+ public const uint EventStatus = (uint)Property.Id.EventEventStatus;
/// <summary>
/// The priority of event(refer to the CalendarTypes.Priority).
/// </summary>
- public const uint Priority = (uint)PropertyIds.EventPriority;
+ public const uint Priority = (uint)Property.Id.EventPriority;
/// <summary>
/// The timezone_id of the event if it exists.
/// </summary>
- public const uint Timezone = (uint)PropertyIds.EventTimezone;
+ public const uint Timezone = (uint)Property.Id.EventTimezone;
/// <summary>
/// The person_id of the event if the event is a birthday. Refer to the contacts-service
/// </summary>
- public const uint ContactId = (uint)PropertyIds.EventContactId;
+ public const uint ContactId = (uint)Property.Id.EventContactId;
/// <summary>
/// The busy status of event(refer to the CalendarTypes.BusyStatus).
/// </summary>
- public const uint BusyStatus = (uint)PropertyIds.EventBusyStatus;
+ public const uint BusyStatus = (uint)Property.Id.EventBusyStatus;
/// <summary>
/// The Sensitivity of event(refer to the CalendarTypes.Sensitivity).
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.EventSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.EventSensitivity;
/// <summary>
/// The unique ID of the event
/// </summary>
- public const uint Uid = (uint)PropertyIds.EventUid;
+ public const uint Uid = (uint)Property.Id.EventUid;
/// <summary>
/// The name of organizer of the event
/// </summary>
- public const uint OrganizerName = (uint)PropertyIds.EventOrganizerName;
+ public const uint OrganizerName = (uint)Property.Id.EventOrganizerName;
/// <summary>
/// The email address of the organizer of the event
/// </summary>
- public const uint OrganizerEmail = (uint)PropertyIds.EventOrganizerEmail;
+ public const uint OrganizerEmail = (uint)Property.Id.EventOrganizerEmail;
/// <summary>
/// The meeting status of event(refer to the CalendarTypes.MeetingStatus).
/// </summary>
- public const uint MeetingStatus = (uint)PropertyIds.EventMeetingStatus;
+ public const uint MeetingStatus = (uint)Property.Id.EventMeetingStatus;
/// <summary>
/// The ID of the original event if the event is an exception.
/// </summary>
- public const uint OriginalEventId = (uint)PropertyIds.EventOriginalEventId;
+ public const uint OriginalEventId = (uint)Property.Id.EventOriginalEventId;
/// <summary>
/// The latitude of the location of the event
/// </summary>
- public const uint Latitude = (uint)PropertyIds.EventLatitude;
+ public const uint Latitude = (uint)Property.Id.EventLatitude;
/// <summary>
/// The longitude of the location of the event
/// </summary>
- public const uint Longitude = (uint)PropertyIds.EventLongitude;
+ public const uint Longitude = (uint)Property.Id.EventLongitude;
/// <summary>
/// ID of the email_id. Refer to the email-service.
/// </summary>
- public const uint EmailId = (uint)PropertyIds.EventEmailId;
+ public const uint EmailId = (uint)Property.Id.EventEmailId;
/// <summary>
/// The time when the event is created
/// </summary>
- public const uint CreatedTime = (uint)PropertyIds.EventCreatedTime;
+ public const uint CreatedTime = (uint)Property.Id.EventCreatedTime;
/// <summary>
/// The time when the event is updated
/// </summary>
- public const uint LastModifiedTime = (uint)PropertyIds.EventLastModifiedTime;
+ public const uint LastModifiedTime = (uint)Property.Id.EventLastModifiedTime;
/// <summary>
/// Whether or not the event is deleted
/// </summary>
- public const uint IsDeleted = (uint)PropertyIds.EventIsDeleted;
+ public const uint IsDeleted = (uint)Property.Id.EventIsDeleted;
/// <summary>
/// The frequent type of event recurrence(refer to the CalendarTypes.Recurrence).
/// </summary>
- public const uint Freq = (uint)PropertyIds.EventFreq;
+ public const uint Freq = (uint)Property.Id.EventFreq;
/// <summary>
/// The range type of event recurrence(refer to the CalendarTypes.RangeType).
/// </summary>
- public const uint RangeType = (uint)PropertyIds.EventRangeType;
+ public const uint RangeType = (uint)Property.Id.EventRangeType;
/// <summary>
/// The end time of the event recurrence. Only if this is used with RangeType.Until.
/// </summary>
- public const uint Until = (uint)PropertyIds.EventUntil;
+ public const uint Until = (uint)Property.Id.EventUntil;
/// <summary>
/// The count of the event recurrence. Only if this is used with RangeType.Count.
/// </summary>
- public const uint Count = (uint)PropertyIds.EventCount;
+ public const uint Count = (uint)Property.Id.EventCount;
/// <summary>
/// The interval of the event recurrence
/// </summary>
- public const uint Interval = (uint)PropertyIds.EventInterval;
+ public const uint Interval = (uint)Property.Id.EventInterval;
/// <summary>
/// The second list of the event recurrence. The value can be from 0 to 59. The list is separated by comma
/// </summary>
- public const uint Bysecond = (uint)PropertyIds.EventBysecond;
+ public const uint Bysecond = (uint)Property.Id.EventBysecond;
/// <summary>
/// The minute list of the event recurrence. The value can be from 0 to 59. The list is separated by commas
/// </summary>
- public const uint Byminute = (uint)PropertyIds.EventByminute;
+ public const uint Byminute = (uint)Property.Id.EventByminute;
/// <summary>
/// The hour list of the event recurrence. The value can be from 0 to 23. The list is separated by commas
/// </summary>
- public const uint Byhour = (uint)PropertyIds.EventByhour;
+ public const uint Byhour = (uint)Property.Id.EventByhour;
/// <summary>
/// The day list of the event recurrence. The value can be SU, MO, TU, WE, TH, FR, SA. The list is separated by commas.
/// </summary>
- public const uint Byday = (uint)PropertyIds.EventByday;
+ public const uint Byday = (uint)Property.Id.EventByday;
/// <summary>
/// The month day list of the event recurrence. The value can be from 1 to 31 and from -31 to -1. The list is separated by commas.
/// </summary>
- public const uint Bymonthday = (uint)PropertyIds.EventBymonthday;
+ public const uint Bymonthday = (uint)Property.Id.EventBymonthday;
/// <summary>
/// The year day list of the event recurrence. The value can be from 1 to 366 and from -366 to -1. The list is separated by commas
/// </summary>
- public const uint Byyearday = (uint)PropertyIds.EventByyearday;
+ public const uint Byyearday = (uint)Property.Id.EventByyearday;
/// <summary>
/// The week number list of the event recurrence. The value can be from 1 to 53 and from -53 to -1. The list is separated by commas
/// </summary>
- public const uint Byweekno = (uint)PropertyIds.EventByweekno;
+ public const uint Byweekno = (uint)Property.Id.EventByweekno;
/// <summary>
/// The month list of the event recurrence. The value can be from 1 to 12. The list is separated by commas
/// </summary>
- public const uint Bymonth = (uint)PropertyIds.EventBymonth;
+ public const uint Bymonth = (uint)Property.Id.EventBymonth;
/// <summary>
/// The position list of the event recurrence. The value can be from 1 to 366 and from -366 to -1. The list is separated by commas
/// </summary>
- public const uint Bysetpos = (uint)PropertyIds.EventBysetpos;
+ public const uint Bysetpos = (uint)Property.Id.EventBysetpos;
/// <summary>
/// The start day of the week(refer to the CalendarTypes.WeekDay).
/// </summary>
- public const uint Wkst = (uint)PropertyIds.EventWkst;
+ public const uint Wkst = (uint)Property.Id.EventWkst;
/// <summary>
/// RECURRENCE-ID of RFC #2445
/// </summary>
- public const uint RecurrenceId = (uint)PropertyIds.EventRecurrenceId;
+ public const uint RecurrenceId = (uint)Property.Id.EventRecurrenceId;
/// <summary>
/// RDATE of RFC #2445
/// </summary>
- public const uint Rdate = (uint)PropertyIds.EventRdate;
+ public const uint Rdate = (uint)Property.Id.EventRdate;
/// <summary>
/// Whether or not the event has an attendee list
/// </summary>
- public const uint HasAttendee = (uint)PropertyIds.EventHasAttendee;
+ public const uint HasAttendee = (uint)Property.Id.EventHasAttendee;
/// <summary>
/// Whether or not the event has an alarm list
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.EventHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.EventHasAlarm;
/// <summary>
/// The sync data of the event. If developer need to save some information related to the event, they can use this property
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.EventSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.EventSyncData1;
/// <summary>
/// The sync data of the event. If developer need to save some information related to the event, they can use this property
/// </summary>
- public const uint SyncData2 = (uint)PropertyIds.EventSyncData2;
+ public const uint SyncData2 = (uint)Property.Id.EventSyncData2;
/// <summary>
/// The sync data of the event. If developer need to save some information related to the event, they can use this property
/// </summary>
- public const uint SyncData3 = (uint)PropertyIds.EventSyncData3;
+ public const uint SyncData3 = (uint)Property.Id.EventSyncData3;
/// <summary>
/// The sync data of the event. If developer need to save some information related to the event, they can use this property
/// </summary>
- public const uint SyncData4 = (uint)PropertyIds.EventSyncData4;
+ public const uint SyncData4 = (uint)Property.Id.EventSyncData4;
/// <summary>
/// The start time of the event
/// </summary>
- public const uint Start = (uint)PropertyIds.EventStart;
+ public const uint Start = (uint)Property.Id.EventStart;
/// <summary>
/// The end time of the event
/// </summary>
- public const uint End = (uint)PropertyIds.EventEnd;
+ public const uint End = (uint)Property.Id.EventEnd;
/// <summary>
/// The alarm list of the event.
/// </summary>
- public const uint Alarm = (uint)PropertyIds.EventAlarm;
+ public const uint Alarm = (uint)Property.Id.EventAlarm;
/// <summary>
/// The attendee list of the event.
/// </summary>
- public const uint Attendee = (uint)PropertyIds.EventAttendee;
+ public const uint Attendee = (uint)Property.Id.EventAttendee;
/// <summary>
/// The Calendar system type(refer to the CalendarTypes.SystemType).
/// </summary>
- public const uint CalendarSystemType = (uint)PropertyIds.EventCalendarSystemType;
+ public const uint CalendarSystemType = (uint)Property.Id.EventCalendarSystemType;
/// <summary>
/// The timezone of the start_time
/// </summary>
- public const uint StartTzid = (uint)PropertyIds.EventStartTzid;
+ public const uint StartTzid = (uint)Property.Id.EventStartTzid;
/// <summary>
/// The timezone of the end_time
/// </summary>
- public const uint EndTzid = (uint)PropertyIds.EventEndTzid;
+ public const uint EndTzid = (uint)Property.Id.EventEndTzid;
/// <summary>
/// The exception mod event list of the event
/// </summary>
- public const uint Exception = (uint)PropertyIds.EventException;
+ public const uint Exception = (uint)Property.Id.EventException;
/// <summary>
/// The extended property list of the event.
/// </summary>
- public const uint Extended = (uint)PropertyIds.EventExtended;
+ public const uint Extended = (uint)Property.Id.EventExtended;
/// <summary>
/// The event is an allday event or not
/// </summary>
- public const uint IsAllday = (uint)PropertyIds.EventIsAllday;
+ public const uint IsAllday = (uint)Property.Id.EventIsAllday;
/// <summary>
/// The linked event count
/// </summary>
- public const uint LinkCount = (uint)PropertyIds.EventLinkCount;
+ public const uint LinkCount = (uint)Property.Id.EventLinkCount;
/// <summary>
/// The event is an base linked event
/// </summary>
- public const uint LinkBaseId = (uint)PropertyIds.EventLinkBaseId;
+ public const uint LinkBaseId = (uint)Property.Id.EventLinkBaseId;
}
+ /// <summary>
+ /// Describes properies of a Todo record.
+ /// </summary>
public static class Todo
{
/// <summary>
/// <summary>
/// DB record ID of the todo
/// </summary>
- public const uint Id = (uint)PropertyIds.TodoId;
+ public const uint Id = (uint)Property.Id.TodoId;
/// <summary>
/// ID of the calendar book to which the todo belongs
/// </summary>
- public const uint BookId = (uint)PropertyIds.TodoBookId;
+ public const uint BookId = (uint)Property.Id.TodoBookId;
/// <summary>
/// The short description of the todo
/// </summary>
- public const uint Summary = (uint)PropertyIds.TodoSummary;
+ public const uint Summary = (uint)Property.Id.TodoSummary;
/// <summary>
/// The description of the todo
/// </summary>
- public const uint Description = (uint)PropertyIds.TodoDescription;
+ public const uint Description = (uint)Property.Id.TodoDescription;
/// <summary>
/// The location of the todo
/// </summary>
- public const uint Location = (uint)PropertyIds.TodoLocation;
+ public const uint Location = (uint)Property.Id.TodoLocation;
/// <summary>
/// The category of the todo. i.g. APPOINTMENT, BIRTHDAY
/// </summary>
- public const uint Categories = (uint)PropertyIds.TodoCategories;
+ public const uint Categories = (uint)Property.Id.TodoCategories;
/// <summary>
/// The status of todo(refer to the CalendarTypes.TodoStatus).
/// </summary>
- public const uint TodoStatus = (uint)PropertyIds.TodoStatus;
+ public const uint TodoStatus = (uint)Property.Id.TodoStatus;
/// <summary>
/// The Priority of todo(refer to the CalendarTypes.Priority).
/// </summary>
- public const uint Priority = (uint)PropertyIds.TodoPriority;
+ public const uint Priority = (uint)Property.Id.TodoPriority;
/// <summary>
/// The Sensitivity of todo(refer to the CalendarTypes.Sensitivity).
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.TodoSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.TodoSensitivity;
/// <summary>
/// The unique ID of the todo
/// </summary>
- public const uint Uid = (uint)PropertyIds.TodoUid;
+ public const uint Uid = (uint)Property.Id.TodoUid;
/// <summary>
/// The latitude of the location of the todo
/// </summary>
- public const uint Latitude = (uint)PropertyIds.TodoLatitude;
+ public const uint Latitude = (uint)Property.Id.TodoLatitude;
/// <summary>
/// The longitude of the location of the todo
/// </summary>
- public const uint Longitude = (uint)PropertyIds.TodoLongitude;
+ public const uint Longitude = (uint)Property.Id.TodoLongitude;
/// <summary>
/// The progression of the todo. The value can be from 0 to 100
/// </summary>
- public const uint Progress = (uint)PropertyIds.TodoProgress;
+ public const uint Progress = (uint)Property.Id.TodoProgress;
/// <summary>
/// The time when the todo is create
/// </summary>
- public const uint CreatedTime = (uint)PropertyIds.TodoCreatedTime;
+ public const uint CreatedTime = (uint)Property.Id.TodoCreatedTime;
/// <summary>
/// The time when the todo is updated
/// </summary>
- public const uint LastModifiedTime = (uint)PropertyIds.TodoLastModifiedTime;
+ public const uint LastModifiedTime = (uint)Property.Id.TodoLastModifiedTime;
/// <summary>
/// The time when the todo is completed
/// </summary>
- public const uint CompletedTime = (uint)PropertyIds.TodoCompletedTime;
+ public const uint CompletedTime = (uint)Property.Id.TodoCompletedTime;
/// <summary>
/// Whether or not the todo is deleted
/// </summary>
- public const uint IsDeleted = (uint)PropertyIds.TodoIsDeleted;
+ public const uint IsDeleted = (uint)Property.Id.TodoIsDeleted;
/// <summary>
/// The frequent type of todo recurrence(refer to the CalendarTypes.Recurrence).
/// </summary>
- public const uint Freq = (uint)PropertyIds.TodoFreq;
+ public const uint Freq = (uint)Property.Id.TodoFreq;
/// <summary>
/// The range type of todo recurrence(refer to the CalendarTypes.RangeType).
/// </summary>
- public const uint RangeType = (uint)PropertyIds.TodoRangeType;
+ public const uint RangeType = (uint)Property.Id.TodoRangeType;
/// <summary>
/// The end time of the todo recurrence. Only if this is used with RangeType.Until.
/// </summary>
- public const uint Until = (uint)PropertyIds.TodoUntil;
+ public const uint Until = (uint)Property.Id.TodoUntil;
/// <summary>
/// The count of the todo recurrence. Only if this is used with RangeType.Count.
/// </summary>
- public const uint Count = (uint)PropertyIds.TodoCount;
+ public const uint Count = (uint)Property.Id.TodoCount;
/// <summary>
/// The interval of the todo recurrence
/// </summary>
- public const uint Integererval = (uint)PropertyIds.TodoIntegererval;
+ public const uint Interval = (uint)Property.Id.TodoInterval;
/// <summary>
/// The second list of the todo recurrence. The value can be from 0 to 59. The list is separated by commas
/// </summary>
- public const uint Bysecond = (uint)PropertyIds.TodoBysecond;
+ public const uint Bysecond = (uint)Property.Id.TodoBysecond;
/// <summary>
/// The minute list of the todo recurrence. The value can be from 0 to 59. The list is separated by commas
/// </summary>
- public const uint Byminute = (uint)PropertyIds.TodoByminute;
+ public const uint Byminute = (uint)Property.Id.TodoByminute;
/// <summary>
/// The hour list of the todo recurrence. The value can be from 0 to 23. The list is separated by commas
/// </summary>
- public const uint Byhour = (uint)PropertyIds.TodoByhour;
+ public const uint Byhour = (uint)Property.Id.TodoByhour;
/// <summary>
/// The day list of the todo recurrence. The value can be SU, MO, TU, WE, TH, FR, SA. The list is separated by commas
/// </summary>
- public const uint Byday = (uint)PropertyIds.TodoByday;
+ public const uint Byday = (uint)Property.Id.TodoByday;
/// <summary>
/// The month day list of the todo recurrence. The value can be from 1 to 31 and from -31 to -1. The list is separated by commas
/// </summary>
- public const uint Bymonthday = (uint)PropertyIds.TodoBymonthday;
+ public const uint Bymonthday = (uint)Property.Id.TodoBymonthday;
/// <summary>
/// The year day list of the todo recurrence. The value can be from 1 to 366 and from -366 to -1. The list is separated by commas
/// </summary>
- public const uint Byyearday = (uint)PropertyIds.TodoByyearday;
+ public const uint Byyearday = (uint)Property.Id.TodoByyearday;
/// <summary>
/// The week number list of the todo recurrence. The value can be from 1 to 53 and from -53 to -1. The list is separated by commas
/// </summary>
- public const uint Byweekno = (uint)PropertyIds.TodoByweekno;
+ public const uint Byweekno = (uint)Property.Id.TodoByweekno;
/// <summary>
/// The month list of the todo recurrence. The value can be from 1 to 12. The list is separated by commas
/// </summary>
- public const uint Bymonth = (uint)PropertyIds.TodoBymonth;
+ public const uint Bymonth = (uint)Property.Id.TodoBymonth;
/// <summary>
/// The position list of the todo recurrence. The value can be from 1 to 366 and from -366 to -1. The list is separated by commas
/// </summary>
- public const uint Bysetpos = (uint)PropertyIds.TodoBysetpos;
+ public const uint Bysetpos = (uint)Property.Id.TodoBysetpos;
/// <summary>
/// The start day of the week(refer to the CalendarTypes.WeekDay).
/// </summary>
- public const uint Wkst = (uint)PropertyIds.TodoWkst;
+ public const uint Wkst = (uint)Property.Id.TodoWkst;
/// <summary>
/// Whether or not the todo has an alarm list
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.TodoHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.TodoHasAlarm;
/// <summary>
/// The sync data of the todo. If developers need to save some information related to the todo, they can use this property
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.TodoSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.TodoSyncData1;
/// <summary>
/// The sync data of the todo. If developers need to save some information related to the todo, they can use this property
/// </summary>
- public const uint SyncData2 = (uint)PropertyIds.TodoSyncData2;
+ public const uint SyncData2 = (uint)Property.Id.TodoSyncData2;
/// <summary>
/// The sync data of the todo. If developers need to save some information related to the todo, they can use this property
/// </summary>
- public const uint SyncData3 = (uint)PropertyIds.TodoSyncData3;
+ public const uint SyncData3 = (uint)Property.Id.TodoSyncData3;
/// <summary>
/// The sync data of the todo. If developers need to save some information related to the todo, they can use this property
/// </summary>
- public const uint SyncData4 = (uint)PropertyIds.TodoSyncData4;
+ public const uint SyncData4 = (uint)Property.Id.TodoSyncData4;
/// <summary>
/// The start time of the todo
/// </summary>
- public const uint Start = (uint)PropertyIds.TodoStart;
+ public const uint Start = (uint)Property.Id.TodoStart;
/// <summary>
/// The due time of the todo
/// </summary>
- public const uint Due = (uint)PropertyIds.TodoDue;
+ public const uint Due = (uint)Property.Id.TodoDue;
/// <summary>
/// The alarm list of the todo.
/// </summary>
- public const uint Alarm = (uint)PropertyIds.TodoAlarm;
+ public const uint Alarm = (uint)Property.Id.TodoAlarm;
/// <summary>
/// The timezone of the start_time
/// </summary>
- public const uint StartTzid = (uint)PropertyIds.TodoStartTzid;
+ public const uint StartTzid = (uint)Property.Id.TodoStartTzid;
/// <summary>
/// The timezone of the due_time
/// </summary>
- public const uint DueTzid = (uint)PropertyIds.TodoDueTzid;
+ public const uint DueTzid = (uint)Property.Id.TodoDueTzid;
/// <summary>
/// The name of the organizer of the event
/// </summary>
- public const uint OrganizerName = (uint)PropertyIds.TodoOrganizerName;
+ public const uint OrganizerName = (uint)Property.Id.TodoOrganizerName;
/// <summary>
/// The email address of the organizer of the todo
/// </summary>
- public const uint OrganizerEmail = (uint)PropertyIds.TodoOrganizerEmail;
+ public const uint OrganizerEmail = (uint)Property.Id.TodoOrganizerEmail;
/// <summary>
/// Whether or not the todo has an attendee list
/// </summary>
- public const uint HasAttendee = (uint)PropertyIds.TodoHasAttendee;
+ public const uint HasAttendee = (uint)Property.Id.TodoHasAttendee;
/// <summary>
/// The attendee list of the todo.
/// </summary>
- public const uint Attendee = (uint)PropertyIds.TodoAttendee;
+ public const uint Attendee = (uint)Property.Id.TodoAttendee;
/// <summary>
/// The extended property list of the todo.
/// </summary>
- public const uint Extended = (uint)PropertyIds.TodoExtended;
+ public const uint Extended = (uint)Property.Id.TodoExtended;
/// <summary>
/// The todo is an allday event or not
/// </summary>
- public const uint IsAllday = (uint)PropertyIds.TodoIsAllday;
+ public const uint IsAllday = (uint)Property.Id.TodoIsAllday;
}
+ /// <summary>
+ /// Describes properies of a Timezone record.
+ /// </summary>
public static class Timezone
{
/// <summary>
/// <summary>
/// DB record ID of the timezone
/// </summary>
- public const uint Id = (uint)PropertyIds.TimezoneId;
+ public const uint Id = (uint)Property.Id.TimezoneId;
/// <summary>
/// UTC offset which is in use when the onset of this time zone observance begins. Valid values are -720(-12:00) to 840(+14:00)
/// </summary>
- public const uint TzOffsetFromGmt = (uint)PropertyIds.TimezoneTzOffsetFromGmt;
+ public const uint TzOffsetFromGmt = (uint)Property.Id.TimezoneTzOffsetFromGmt;
/// <summary>
/// Name of the Standard Time
/// </summary>
- public const uint StandardName = (uint)PropertyIds.TimezoneStandardName;
+ public const uint StandardName = (uint)Property.Id.TimezoneStandardName;
/// <summary>
/// Starting month of the Standard Time. Month is 0-based. eg, 0 for January
/// </summary>
- public const uint StdStartMonth = (uint)PropertyIds.TimezoneStdStartMonth;
+ public const uint StdStartMonth = (uint)Property.Id.TimezoneStdStartMonth;
/// <summary>
/// Starting day-of-week-in-month of the Standard Time. Day is 1-based
/// </summary>
- public const uint StdStartPositionOfWeek = (uint)PropertyIds.TimezoneStdStartPositionOfWeek;
+ public const uint StdStartPositionOfWeek = (uint)Property.Id.TimezoneStdStartPositionOfWeek;
/// <summary>
/// Starting day-of-week of the Standard Time. Valid values are 1(SUNDAY) to 7(SATURDAY)
/// </summary>
- public const uint StdStartDay = (uint)PropertyIds.TimezoneStdStartDay;
+ public const uint StdStartDay = (uint)Property.Id.TimezoneStdStartDay;
/// <summary>
/// Starting hour of the Standard Time. Valid values are 0 to 23
/// </summary>
- public const uint StdStartHour = (uint)PropertyIds.TimezoneStdStartHour;
+ public const uint StdStartHour = (uint)Property.Id.TimezoneStdStartHour;
/// <summary>
/// The number of minutes added during the Standard Time
/// </summary>
- public const uint StandardBias = (uint)PropertyIds.TimezoneStandardBias;
+ public const uint StandardBias = (uint)Property.Id.TimezoneStandardBias;
/// <summary>
/// Name of Daylight
/// </summary>
- public const uint DayLightName = (uint)PropertyIds.TimezoneDayLightName;
+ public const uint DayLightName = (uint)Property.Id.TimezoneDayLightName;
/// <summary>
/// Starting month of Daylight. Month is 0-based. eg, 0 for January
/// </summary>
- public const uint DayLightStartMonth = (uint)PropertyIds.TimezoneDayLightStartMonth;
+ public const uint DayLightStartMonth = (uint)Property.Id.TimezoneDayLightStartMonth;
/// <summary>
/// Starting day-of-week-in-month of Daylight. Day is 1-based
/// </summary>
- public const uint DayLightStartPositionOfWeek = (uint)PropertyIds.TimezoneDayLightStartPositionOfWeek;
+ public const uint DayLightStartPositionOfWeek = (uint)Property.Id.TimezoneDayLightStartPositionOfWeek;
/// <summary>
/// Starting day-of-week of Daylight. Valid values are 1(SUNDAY) to 7(SATURDAY)
/// </summary>
- public const uint DayLightStartDay = (uint)PropertyIds.TimezoneDayLightStartDay;
+ public const uint DayLightStartDay = (uint)Property.Id.TimezoneDayLightStartDay;
/// <summary>
/// Starting hour of Daylight. Valid values are 0 to 23
/// </summary>
- public const uint DayLightStartHour = (uint)PropertyIds.TimezoneDayLightStartHour;
+ public const uint DayLightStartHour = (uint)Property.Id.TimezoneDayLightStartHour;
/// <summary>
/// The number of minutes added during Daylight Time
/// </summary>
- public const uint DayLightBias = (uint)PropertyIds.TimezoneDayLightBias;
+ public const uint DayLightBias = (uint)Property.Id.TimezoneDayLightBias;
/// <summary>
/// DB record ID of a related calendar book
/// </summary>
- public const uint CalendarId = (uint)PropertyIds.TimezoneCalendarId;
+ public const uint CalendarId = (uint)Property.Id.TimezoneCalendarId;
}
+ /// <summary>
+ /// Describes properies of a Attendee record.
+ /// </summary>
public static class Attendee
{
/// <summary>
/// <summary>
/// The number of the attendee
/// </summary>
- public const uint Number = (uint)PropertyIds.AttendeeNumber;
+ public const uint Number = (uint)Property.Id.AttendeeNumber;
/// <summary>
/// The type of attendee(refer to the CalendarTypes.Cutype).
/// </summary>
- public const uint Cutype = (uint)PropertyIds.AttendeeCutype;
+ public const uint Cutype = (uint)Property.Id.AttendeeCutype;
/// <summary>
- ///
+ /// CtIndex
/// </summary>
- public const uint CtIndex = (uint)PropertyIds.AttendeeCtIndex;
+ public const uint CtIndex = (uint)Property.Id.AttendeeCtIndex;
/// <summary>
/// Unique identifier
/// </summary>
- public const uint Uid = (uint)PropertyIds.AttendeeUid;
+ public const uint Uid = (uint)Property.Id.AttendeeUid;
/// <summary>
- ///
+ /// Group
/// </summary>
- public const uint Group = (uint)PropertyIds.AttendeeGroup;
+ public const uint Group = (uint)Property.Id.AttendeeGroup;
/// <summary>
/// The email address of the attendee
/// </summary>
- public const uint Email = (uint)PropertyIds.AttendeeEmail;
+ public const uint Email = (uint)Property.Id.AttendeeEmail;
/// <summary>
/// Attendee role(refer to the CalendarTypes.AttendeeRole).
/// </summary>
- public const uint Role = (uint)PropertyIds.AttendeeRole;
+ public const uint Role = (uint)Property.Id.AttendeeRole;
/// <summary>
/// Attendee status(refer to the CalendarTypes.AttendeeStatus).
/// </summary>
- public const uint Status = (uint)PropertyIds.AttendeeStatus;
+ public const uint Status = (uint)Property.Id.AttendeeStatus;
/// <summary>
/// RSVP invitation reply (one of true, false)
/// </summary>
- public const uint Rsvp = (uint)PropertyIds.AttendeeRsvp;
+ public const uint Rsvp = (uint)Property.Id.AttendeeRsvp;
/// <summary>
/// Delegatee (DELEGATED-TO)
/// </summary>
- public const uint DelegateeUri = (uint)PropertyIds.AttendeeDelegateeUri;
+ public const uint DelegateeUri = (uint)Property.Id.AttendeeDelegateeUri;
/// <summary>
/// Delegator (DELEGATED-FROM)
/// </summary>
- public const uint DelegatorUri = (uint)PropertyIds.AttendeeDelegatorUri;
+ public const uint DelegatorUri = (uint)Property.Id.AttendeeDelegatorUri;
/// <summary>
/// Attendee name
/// </summary>
- public const uint Name = (uint)PropertyIds.AttendeeName;
+ public const uint Name = (uint)Property.Id.AttendeeName;
/// <summary>
/// Group that the attendee belongs to
/// </summary>
- public const uint Member = (uint)PropertyIds.AttendeeMember;
+ public const uint Member = (uint)Property.Id.AttendeeMember;
/// <summary>
/// Event/TODO that the attendee belongs to
/// </summary>
- public const uint ParentId = (uint)PropertyIds.AttendeeParentId;
+ public const uint ParentId = (uint)Property.Id.AttendeeParentId;
}
+ /// <summary>
+ /// Describes properies of a Alarm record.
+ /// </summary>
public static class Alarm
{
/// <summary>
/// <summary>
/// The number of unit before start time. This MUST be used with one of TickUnit.
/// </summary>
- public const uint Tick = (uint)PropertyIds.AlarmTick;
+ public const uint Tick = (uint)Property.Id.AlarmTick;
/// <summary>
/// Reminder tick time unit(refer to the CalendarTypes.TickUnit).
/// </summary>
- public const uint TickUnit = (uint)PropertyIds.AlarmTickUnit;
+ public const uint TickUnit = (uint)Property.Id.AlarmTickUnit;
/// <summary>
/// Alarm description
/// </summary>
- public const uint Description = (uint)PropertyIds.AlarmDescription;
+ public const uint Description = (uint)Property.Id.AlarmDescription;
/// <summary>
/// Event that the alarm belongs to
/// </summary>
- public const uint ParentId = (uint)PropertyIds.AlarmParentId;
+ public const uint ParentId = (uint)Property.Id.AlarmParentId;
/// <summary>
/// Alarm summary
/// </summary>
- public const uint Summary = (uint)PropertyIds.AlarmSummary;
+ public const uint Summary = (uint)Property.Id.AlarmSummary;
/// <summary>
/// Action of alarm(refer to the CalendarTypes.Action).
/// </summary>
- public const uint Action = (uint)PropertyIds.AlarmAction;
+ public const uint Action = (uint)Property.Id.AlarmAction;
/// <summary>
/// Alarm tone path
/// </summary>
- public const uint Attach = (uint)PropertyIds.AlarmAttach;
+ public const uint Attach = (uint)Property.Id.AlarmAttach;
/// <summary>
/// The alarm time
/// </summary>
- public const uint AlarmTime = (uint)PropertyIds.AlarmAlarm;
+ public const uint AlarmTime = (uint)Property.Id.AlarmAlarm;
}
+ /// <summary>
+ /// Describes properies of a InstanceUtimeBook record.
+ /// </summary>
+ /// <remarks>Read only view</remarks>
public static class InstanceUtimeBook
{
/// <summary>
/// <summary>
/// Event id
/// </summary>
- public const uint EventId = (uint)PropertyIds.InstanceUtimeBookEventId;
+ public const uint EventId = (uint)Property.Id.InstanceUtimeBookEventId;
/// <summary>
/// Start time
/// </summary>
- public const uint Start = (uint)PropertyIds.InstanceUtimeBookStart;
+ public const uint Start = (uint)Property.Id.InstanceUtimeBookStart;
/// <summary>
/// End time
/// </summary>
- public const uint End = (uint)PropertyIds.InstanceUtimeBookEnd;
+ public const uint End = (uint)Property.Id.InstanceUtimeBookEnd;
/// <summary>
/// Summary
/// </summary>
- public const uint Summary = (uint)PropertyIds.InstanceUtimeBookSummary;
+ public const uint Summary = (uint)Property.Id.InstanceUtimeBookSummary;
/// <summary>
/// Location
/// </summary>
- public const uint Location = (uint)PropertyIds.InstanceUtimeBookLocation;
+ public const uint Location = (uint)Property.Id.InstanceUtimeBookLocation;
/// <summary>
/// Book id
/// </summary>
- public const uint BookId = (uint)PropertyIds.InstanceUtimeBookBookId;
+ public const uint BookId = (uint)Property.Id.InstanceUtimeBookBookId;
/// <summary>
/// Description
/// </summary>
- public const uint Description = (uint)PropertyIds.InstanceUtimeBookDescription;
+ public const uint Description = (uint)Property.Id.InstanceUtimeBookDescription;
/// <summary>
/// BusyStatus
/// </summary>
- public const uint BusyStatus = (uint)PropertyIds.InstanceUtimeBookBusyStatus;
+ public const uint BusyStatus = (uint)Property.Id.InstanceUtimeBookBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
- public const uint EventStatus = (uint)PropertyIds.InstanceUtimeBookEventStatus;
+ public const uint EventStatus = (uint)Property.Id.InstanceUtimeBookEventStatus;
/// <summary>
/// Priority
/// </summary>
- public const uint Priority = (uint)PropertyIds.InstanceUtimeBookPriority;
+ public const uint Priority = (uint)Property.Id.InstanceUtimeBookPriority;
/// <summary>
/// Sensitivity
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.InstanceUtimeBookSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.InstanceUtimeBookSensitivity;
/// <summary>
/// HasRrule
/// </summary>
- public const uint HasRrule = (uint)PropertyIds.InstanceUtimeBookHasRrule;
+ public const uint HasRrule = (uint)Property.Id.InstanceUtimeBookHasRrule;
/// <summary>
/// Latitude
/// </summary>
- public const uint Latitude = (uint)PropertyIds.InstanceUtimeBookLatitude;
+ public const uint Latitude = (uint)Property.Id.InstanceUtimeBookLatitude;
/// <summary>
/// Longitude
/// </summary>
- public const uint Longitude = (uint)PropertyIds.InstanceUtimeBookLongitude;
+ public const uint Longitude = (uint)Property.Id.InstanceUtimeBookLongitude;
/// <summary>
/// HasAlarm
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.InstanceUtimeBookHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.InstanceUtimeBookHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
- public const uint OriginalEventId = (uint)PropertyIds.InstanceUtimeBookOriginalEventId;
+ public const uint OriginalEventId = (uint)Property.Id.InstanceUtimeBookOriginalEventId;
/// <summary>
/// LastModifiedtime
/// </summary>
- public const uint LastModifiedtime = (uint)PropertyIds.InstanceUtimeBookLastModifiedtime;
+ public const uint LastModifiedtime = (uint)Property.Id.InstanceUtimeBookLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.InstanceUtimeBookSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.InstanceUtimeBookSyncData1;
}
+ /// <summary>
+ /// Describes properies of a InstanceLocaltimeBook record.
+ /// </summary>
+ /// <remarks>Read only view</remarks>
public static class InstanceLocaltimeBook
{
/// <summary>
/// <summary>
/// EventId
/// </summary>
- public const uint EventId = (uint)PropertyIds.InstanceLocaltimeBookEventId;
+ public const uint EventId = (uint)Property.Id.InstanceLocaltimeBookEventId;
/// <summary>
/// Start
/// </summary>
- public const uint Start = (uint)PropertyIds.InstanceLocaltimeBookStart;
+ public const uint Start = (uint)Property.Id.InstanceLocaltimeBookStart;
/// <summary>
/// End
/// </summary>
- public const uint End = (uint)PropertyIds.InstanceLocaltimeBookEnd;
+ public const uint End = (uint)Property.Id.InstanceLocaltimeBookEnd;
/// <summary>
/// Summary
/// </summary>
- public const uint Summary = (uint)PropertyIds.InstanceLocaltimeBookSummary;
+ public const uint Summary = (uint)Property.Id.InstanceLocaltimeBookSummary;
/// <summary>
/// Location
/// </summary>
- public const uint Location = (uint)PropertyIds.InstanceLocaltimeBookLocation;
+ public const uint Location = (uint)Property.Id.InstanceLocaltimeBookLocation;
/// <summary>
/// BookId
/// </summary>
- public const uint BookId = (uint)PropertyIds.InstanceLocaltimeBookBookId;
+ public const uint BookId = (uint)Property.Id.InstanceLocaltimeBookBookId;
/// <summary>
/// Description
/// </summary>
- public const uint Description = (uint)PropertyIds.InstanceLocaltimeBookDescription;
+ public const uint Description = (uint)Property.Id.InstanceLocaltimeBookDescription;
/// <summary>
/// BusyStatus
/// </summary>
- public const uint BusyStatus = (uint)PropertyIds.InstanceLocaltimeBookBusyStatus;
+ public const uint BusyStatus = (uint)Property.Id.InstanceLocaltimeBookBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
- public const uint EventStatus = (uint)PropertyIds.InstanceLocaltimeBookEventStatus;
+ public const uint EventStatus = (uint)Property.Id.InstanceLocaltimeBookEventStatus;
/// <summary>
/// Priority
/// </summary>
- public const uint Priority = (uint)PropertyIds.InstanceLocaltimeBookPriority;
+ public const uint Priority = (uint)Property.Id.InstanceLocaltimeBookPriority;
/// <summary>
/// Sensitivity
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.InstanceLocaltimeBookSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.InstanceLocaltimeBookSensitivity;
/// <summary>
/// HasRrule
/// </summary>
- public const uint HasRrule = (uint)PropertyIds.InstanceLocaltimeBookHasRrule;
+ public const uint HasRrule = (uint)Property.Id.InstanceLocaltimeBookHasRrule;
/// <summary>
/// Latitude
/// </summary>
- public const uint Latitude = (uint)PropertyIds.InstanceLocaltimeBookLatitude;
+ public const uint Latitude = (uint)Property.Id.InstanceLocaltimeBookLatitude;
/// <summary>
/// Longitude
/// </summary>
- public const uint Longitude = (uint)PropertyIds.InstanceLocaltimeBookLongitude;
+ public const uint Longitude = (uint)Property.Id.InstanceLocaltimeBookLongitude;
/// <summary>
/// HasAlarm
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.InstanceLocaltimeBookHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.InstanceLocaltimeBookHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
- public const uint OriginalEventId = (uint)PropertyIds.InstanceLocaltimeBookOriginalEventId;
+ public const uint OriginalEventId = (uint)Property.Id.InstanceLocaltimeBookOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
- public const uint LastModifiedTime = (uint)PropertyIds.InstanceLocaltimeBookLastModifiedTime;
+ public const uint LastModifiedTime = (uint)Property.Id.InstanceLocaltimeBookLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.InstanceLocaltimeBookSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.InstanceLocaltimeBookSyncData1;
/// <summary>
/// IsAllday
/// </summary>
- public const uint IsAllday = (uint)PropertyIds.InstanceLocaltimeBookIsAllday;
+ public const uint IsAllday = (uint)Property.Id.InstanceLocaltimeBookIsAllday;
}
+ /// <summary>
+ /// Describes properies of a InstanceUtimeBookExtended record.
+ /// </summary>
+ /// <remarks>Read only view</remarks>
public static class InstanceUtimeBookExtended
{
/// <summary>
/// <summary>
/// EventId
/// </summary>
- public const uint EventId = (uint)PropertyIds.InstanceUtimeBookExtendedEventId;
+ public const uint EventId = (uint)Property.Id.InstanceUtimeBookExtendedEventId;
/// <summary>
/// Start
/// </summary>
- public const uint Start = (uint)PropertyIds.InstanceUtimeBookExtendedStart;
+ public const uint Start = (uint)Property.Id.InstanceUtimeBookExtendedStart;
/// <summary>
/// End
/// </summary>
- public const uint End = (uint)PropertyIds.InstanceUtimeBookExtendedEnd;
+ public const uint End = (uint)Property.Id.InstanceUtimeBookExtendedEnd;
/// <summary>
/// Summary
/// </summary>
- public const uint Summary = (uint)PropertyIds.InstanceUtimeBookExtendedSummary;
+ public const uint Summary = (uint)Property.Id.InstanceUtimeBookExtendedSummary;
/// <summary>
/// Location
/// </summary>
- public const uint Location = (uint)PropertyIds.InstanceUtimeBookExtendedLocation;
+ public const uint Location = (uint)Property.Id.InstanceUtimeBookExtendedLocation;
/// <summary>
/// BookId
/// </summary>
- public const uint BookId = (uint)PropertyIds.InstanceUtimeBookExtendedBookId;
+ public const uint BookId = (uint)Property.Id.InstanceUtimeBookExtendedBookId;
/// <summary>
/// Description
/// </summary>
- public const uint Description = (uint)PropertyIds.InstanceUtimeBookExtendedDescription;
+ public const uint Description = (uint)Property.Id.InstanceUtimeBookExtendedDescription;
/// <summary>
/// BusyStatus
/// </summary>
- public const uint BusyStatus = (uint)PropertyIds.InstanceUtimeBookExtendedBusyStatus;
+ public const uint BusyStatus = (uint)Property.Id.InstanceUtimeBookExtendedBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
- public const uint EventStatus = (uint)PropertyIds.InstanceUtimeBookExtendedEventStatus;
+ public const uint EventStatus = (uint)Property.Id.InstanceUtimeBookExtendedEventStatus;
/// <summary>
/// Priority
/// </summary>
- public const uint Priority = (uint)PropertyIds.InstanceUtimeBookExtendedPriority;
+ public const uint Priority = (uint)Property.Id.InstanceUtimeBookExtendedPriority;
/// <summary>
/// Sensitivity
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.InstanceUtimeBookExtendedSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.InstanceUtimeBookExtendedSensitivity;
/// <summary>
/// HasRrule
/// </summary>
- public const uint HasRrule = (uint)PropertyIds.InstanceUtimeBookExtendedHasRrule;
+ public const uint HasRrule = (uint)Property.Id.InstanceUtimeBookExtendedHasRrule;
/// <summary>
/// Latitude
/// </summary>
- public const uint Latitude = (uint)PropertyIds.InstanceUtimeBookExtendedLatitude;
+ public const uint Latitude = (uint)Property.Id.InstanceUtimeBookExtendedLatitude;
/// <summary>
/// Longitude
/// </summary>
- public const uint Longitude = (uint)PropertyIds.InstanceUtimeBookExtendedLongitude;
+ public const uint Longitude = (uint)Property.Id.InstanceUtimeBookExtendedLongitude;
/// <summary>
/// HasAlarm
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.InstanceUtimeBookExtendedHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.InstanceUtimeBookExtendedHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
- public const uint OriginalEventId = (uint)PropertyIds.InstanceUtimeBookExtendedOriginalEventId;
+ public const uint OriginalEventId = (uint)Property.Id.InstanceUtimeBookExtendedOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
- public const uint LastModifiedTime = (uint)PropertyIds.InstanceUtimeBookExtendedLastModifiedTime;
+ public const uint LastModifiedTime = (uint)Property.Id.InstanceUtimeBookExtendedLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.InstanceUtimeBookExtendedSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData1;
/// <summary>
/// OrganizerName
/// </summary>
- public const uint OrganizerName = (uint)PropertyIds.InstanceUtimeBookExtendedOrganizerName;
+ public const uint OrganizerName = (uint)Property.Id.InstanceUtimeBookExtendedOrganizerName;
/// <summary>
/// Categories
/// </summary>
- public const uint Categories = (uint)PropertyIds.InstanceUtimeBookExtendedCategories;
+ public const uint Categories = (uint)Property.Id.InstanceUtimeBookExtendedCategories;
/// <summary>
/// HasAttendee
/// </summary>
- public const uint HasAttendee = (uint)PropertyIds.InstanceUtimeBookExtendedHasAttendee;
+ public const uint HasAttendee = (uint)Property.Id.InstanceUtimeBookExtendedHasAttendee;
/// <summary>
/// SyncData2
/// </summary>
- public const uint SyncData2 = (uint)PropertyIds.InstanceUtimeBookExtendedSyncData2;
+ public const uint SyncData2 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData2;
/// <summary>
/// SyncData3
/// </summary>
- public const uint SyncData3 = (uint)PropertyIds.InstanceUtimeBookExtendedSyncData3;
+ public const uint SyncData3 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData3;
/// <summary>
/// SyncData4
/// </summary>
- public const uint SyncData4 = (uint)PropertyIds.InstanceUtimeBookExtendedSyncData4;
+ public const uint SyncData4 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData4;
}
+ /// <summary>
+ /// Describes properies of a InstanceLocaltimeBookExtended record.
+ /// </summary>
+ /// <remarks>Read only view</remarks>
public static class InstanceLocaltimeBookExtended
{
/// <summary>
/// <summary>
/// EventId
/// </summary>
- public const uint EventId = (uint)PropertyIds.InstanceLocaltimeBookExtendedEventId;
+ public const uint EventId = (uint)Property.Id.InstanceLocaltimeBookExtendedEventId;
/// <summary>
/// Start
/// </summary>
- public const uint Start = (uint)PropertyIds.InstanceLocaltimeBookExtendedStart;
+ public const uint Start = (uint)Property.Id.InstanceLocaltimeBookExtendedStart;
/// <summary>
/// End
/// </summary>
- public const uint End = (uint)PropertyIds.InstanceLocaltimeBookExtendedEnd;
+ public const uint End = (uint)Property.Id.InstanceLocaltimeBookExtendedEnd;
/// <summary>
/// Summary
/// </summary>
- public const uint Summary = (uint)PropertyIds.InstanceLocaltimeBookExtendedSummary;
+ public const uint Summary = (uint)Property.Id.InstanceLocaltimeBookExtendedSummary;
/// <summary>
/// Location
/// </summary>
- public const uint Location = (uint)PropertyIds.InstanceLocaltimeBookExtendedLocation;
+ public const uint Location = (uint)Property.Id.InstanceLocaltimeBookExtendedLocation;
/// <summary>
/// BookId
/// </summary>
- public const uint BookId = (uint)PropertyIds.InstanceLocaltimeBookExtendedBookId;
+ public const uint BookId = (uint)Property.Id.InstanceLocaltimeBookExtendedBookId;
/// <summary>
+ /// Description
/// </summary>
- public const uint Description = (uint)PropertyIds.InstanceLocaltimeBookExtendedDescription;
+ public const uint Description = (uint)Property.Id.InstanceLocaltimeBookExtendedDescription;
/// <summary>
+ /// BusyStatus
/// </summary>
- public const uint BusyStatus = (uint)PropertyIds.InstanceLocaltimeBookExtendedBusyStatus;
+ public const uint BusyStatus = (uint)Property.Id.InstanceLocaltimeBookExtendedBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
- public const uint EventStatus = (uint)PropertyIds.InstanceLocaltimeBookExtendedEventStatus;
+ public const uint EventStatus = (uint)Property.Id.InstanceLocaltimeBookExtendedEventStatus;
/// <summary>
/// Priority
/// </summary>
- public const uint Priority = (uint)PropertyIds.InstanceLocaltimeBookExtendedPriority;
+ public const uint Priority = (uint)Property.Id.InstanceLocaltimeBookExtendedPriority;
/// <summary>
/// Sensitivity
/// </summary>
- public const uint Sensitivity = (uint)PropertyIds.InstanceLocaltimeBookExtendedSensitivity;
+ public const uint Sensitivity = (uint)Property.Id.InstanceLocaltimeBookExtendedSensitivity;
/// <summary>
/// HasRrule
/// </summary>
- public const uint HasRrule = (uint)PropertyIds.InstanceLocaltimeBookExtendedHasRrule;
+ public const uint HasRrule = (uint)Property.Id.InstanceLocaltimeBookExtendedHasRrule;
/// <summary>
/// Latitude
/// </summary>
- public const uint Latitude = (uint)PropertyIds.InstanceLocaltimeBookExtendedLatitude;
+ public const uint Latitude = (uint)Property.Id.InstanceLocaltimeBookExtendedLatitude;
/// <summary>
/// Longitude
/// </summary>
- public const uint Longitude = (uint)PropertyIds.InstanceLocaltimeBookExtendedLongitude;
+ public const uint Longitude = (uint)Property.Id.InstanceLocaltimeBookExtendedLongitude;
/// <summary>
/// HasAlarm
/// </summary>
- public const uint HasAlarm = (uint)PropertyIds.InstanceLocaltimeBookExtendedHasAlarm;
+ public const uint HasAlarm = (uint)Property.Id.InstanceLocaltimeBookExtendedHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
- public const uint OriginalEventId = (uint)PropertyIds.InstanceLocaltimeBookExtendedOriginalEventId;
+ public const uint OriginalEventId = (uint)Property.Id.InstanceLocaltimeBookExtendedOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
- public const uint LastModifiedTime = (uint)PropertyIds.InstanceLocaltimeBookExtendedLastModifiedTime;
+ public const uint LastModifiedTime = (uint)Property.Id.InstanceLocaltimeBookExtendedLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
- public const uint SyncData1 = (uint)PropertyIds.InstanceLocaltimeBookExtendedSyncData1;
+ public const uint SyncData1 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData1;
/// <summary>
/// OrganizerName
/// </summary>
- public const uint OrganizerName = (uint)PropertyIds.InstanceLocaltimeBookExtendedOrganizerName;
+ public const uint OrganizerName = (uint)Property.Id.InstanceLocaltimeBookExtendedOrganizerName;
/// <summary>
/// Categories
/// </summary>
- public const uint Categories = (uint)PropertyIds.InstanceLocaltimeBookExtendedCategories;
+ public const uint Categories = (uint)Property.Id.InstanceLocaltimeBookExtendedCategories;
/// <summary>
/// HasAttendee
/// </summary>
- public const uint HasAttendee = (uint)PropertyIds.InstanceLocaltimeBookExtendedHasAttendee;
+ public const uint HasAttendee = (uint)Property.Id.InstanceLocaltimeBookExtendedHasAttendee;
/// <summary>
/// SyncData2
/// </summary>
- public const uint SyncData2 = (uint)PropertyIds.InstanceLocaltimeBookExtendedSyncData2;
+ public const uint SyncData2 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData2;
/// <summary>
/// SyncData3
/// </summary>
- public const uint SyncData3 = (uint)PropertyIds.InstanceLocaltimeBookExtendedSyncData3;
+ public const uint SyncData3 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData3;
/// <summary>
/// SyncData4
/// </summary>
- public const uint SyncData4 = (uint)PropertyIds.InstanceLocaltimeBookExtendedSyncData4;
+ public const uint SyncData4 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData4;
/// <summary>
/// IsAllday
/// </summary>
- public const uint IsAllday = (uint)PropertyIds.InstanceLocaltimeBookExtendedIsAllday;
+ public const uint IsAllday = (uint)Property.Id.InstanceLocaltimeBookExtendedIsAllday;
}
+ /// <summary>
+ /// Describes properies of a UpdatedInfo record.
+ /// </summary>
+ /// <remarks>Read only view</remarks>
public static class UpdatedInfo
{
/// <summary>
/// <summary>
/// Modified event(or todo) record ID
/// </summary>
- public const uint Id = (uint)PropertyIds.UpdateInfoId;
+ public const uint Id = (uint)Property.Id.UpdateInfoId;
/// <summary>
/// Calendar book ID of the modified event(or todo) record
/// </summary>
- public const uint CalendarId = (uint)PropertyIds.UpdateInfoCalendarId;
+ public const uint CalendarId = (uint)Property.Id.UpdateInfoCalendarId;
/// <summary>
/// Enumeration value of the modified status.
/// </summary>
- public const uint Type = (uint)PropertyIds.UpdateInfoType;
+ public const uint Type = (uint)Property.Id.UpdateInfoType;
/// <summary>
/// Version after change
/// </summary>
- public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
+ public const uint Version = (uint)Property.Id.UpdateInfoVersion;
}
+ /// <summary>
+ /// Describes properies of a Extended record.
+ /// </summary>
public static class Extended
{
/// <summary>
/// <summary>
/// DB record ID of the extended_property
/// </summary>
- public const uint Id = (uint)PropertyIds.ExtendedId;
+ public const uint Id = (uint)Property.Id.ExtendedId;
/// <summary>
/// Related record ID
/// </summary>
- public const uint RecordId = (uint)PropertyIds.ExtendedRecordId;
+ public const uint RecordId = (uint)Property.Id.ExtendedRecordId;
/// <summary>
/// Enumeration value of the record type.
/// </summary>
- public const uint RecordType = (uint)PropertyIds.ExtendedRecordType;
+ public const uint RecordType = (uint)Property.Id.ExtendedRecordType;
/// <summary>
/// The key of the property
/// </summary>
- public const uint Key = (uint)PropertyIds.ExtendedKey;
+ public const uint Key = (uint)Property.Id.ExtendedKey;
/// <summary>
/// The value of the property
/// </summary>
- public const uint Value = (uint)PropertyIds.ExtendedValue;
+ public const uint Value = (uint)Property.Id.ExtendedValue;
}
}
}
/// <since_tizen> 3 </since_tizen>
High,
/// <summary>
- /// The battery status is full.
+ /// The battery status is fully charged.
+ /// It means no more charge.
/// </summary>
/// <since_tizen> 3 </since_tizen>
Full