/// CalendarDatabase provides methods to manage calendar information from/to the database.
/// </summary>
/// <remarks>
- /// This class allows user to access/create/update db operations for calendar information.
+ /// This class allows user to access/create/update/delete db operations for calendar information.
+ /// CalendarDatabase is created by CalendarManager.
/// </remarks>
+ /// <since_tizen> 4 </since_tizen>
public class CalendarDatabase
{
private Object thisLock = new Object();
/// <summary>
/// The calendar database version.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The current calendar database version.</value>
[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
public int Version
/// <summary>
/// Gets last successful changed calendar database version on the current connection.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <returns>The last successful changed calendar database version on the current connection</returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
/// <summary>
/// Inserts a record into the calendar database.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="record">The record to be inserted</param>
/// <returns>The ID of inserted record</returns>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Gets a record from the calendar database.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI of a record</param>
/// <param name="recordId">The record ID</param>
/// <returns>
/// The record associated with the record ID
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Updates a record in the calendar database.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="record">The record to be updated</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Deletes a record from the calendar database with related child records.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI of a record</param>
/// <param name="recordId">The record ID to be deleted</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Replaces a record in the calendar database.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="record">The record to be replaced</param>
/// <param name="id">the record id</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Retrieves all records as a list.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI to get records from</param>
/// <param name="offset">The index from which results are received</param>
/// <param name="limit">The maximum number of results(value 0 is used for all records)</param>
/// The record list
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Retrieves records using a query.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="query">The query used to filter results</param>
/// <param name="offset">The index from which results are received</param>
/// <param name="limit">The maximum number of results(value 0 is used for all records)</param>
/// CalendarList
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Inserts multiple records into the calendar database as a batch operation.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="list">The record list</param>
/// <returns>
/// The inserted record id array
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Updates multiple records into the calendar database as a batch operation.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="list">The record list</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Deletes multiple records with related child records from the calendar database as a batch operation.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI of the records to delete</param>
/// <param name="idArray">The record IDs to delete</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Deletes multiple records with related child records from the calendar database as a batch operation.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="list">The record list</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Replaces multiple records in the calendar database as a batch operation.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="list">The record list</param>
/// <param name="idArray">The record IDs</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Retrieves records with the given calendar database version.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI to get records from</param>
/// <param name="BookId">The calendar book ID to filter</param>
/// <param name="calendarDBVersion">The calendar database version</param>
/// The record list
/// </returns>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Gets the record count of a specific view.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI to get records from</param>
/// <returns>
/// The count of records
/// <summary>
/// Gets the record count with a query.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="query">The query used for filtering the results</param>
/// <returns>
/// The count of records
/// <summary>
/// Registers a callback function to be invoked when a record changes.
+ /// <since_tizen> 4 </since_tizen>
/// </summary>
/// <param name="viewUri">The view URI of the record to subscribe for change notifications</param>
/// <param name="DBChanged">The EventHandler to register</param>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+ /// <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>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public void AddDBChangedDelegate(string viewUri, EventHandler<DBChangedEventArgs> DBChanged)
{
/// <summary>
/// Deregisters a callback function.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="viewUri">The view URI of the record to subscribe for change notifications</param>
/// <param name="DBChanged">The EventHandler to deregister</param>
/// <privilege>http://tizen.org/privilege/calendar.read</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+ /// <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>
+ /// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
[SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")]
public void RemoveDBChangedDelegate(string viewUri, EventHandler<DBChangedEventArgs> DBChanged)
{
/// <summary>
/// Link a record to another record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="baseId">The base record ID</param>
/// <param name="recordId">The record ID to link to</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// Unlink a record from base record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="recordId">The record ID to unlink</param>
/// <privilege>http://tizen.org/privilege/calendar.write</privilege>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
- /// <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>
/// <exception cref="UnauthorizedAccessException">Thrown when application does not have proper privileges</exception>
/// <summary>
/// A filter includes the conditions for the search.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class CalendarFilter:IDisposable
{
internal IntPtr _filterHandle;
/// <summary>
/// Creates a filter with a condition for a string type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="viewUri">The view URI of a filter</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
/// <param name="matchValue">The match value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Creates a filter with a condition for an integer type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="viewUri">The view URI of a filter</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
/// <param name="matchValue">The match value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Creates a filter with a condition for long type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="viewUri">The view URI of a filter</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
/// <param name="matchValue">The match value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Creates a filter with a condition for double type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="viewUri">The view URI of a filter</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
/// <param name="matchValue">The match value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Creates a filter with a condition for CalendarTime type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="viewUri">The view URI of a filter</param>
/// <param name="propertyId">The property ID to add a condition</param>
/// <param name="matchType">The match flag</param>
/// <param name="matchValue">The match value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Adds a condition for the string type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <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 value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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)
{
/// <summary>
/// Adds a condition for the integer type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <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 value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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)
{
/// <summary>
/// Adds a condition for the long type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <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 value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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)
{
/// <summary>
/// Adds a condition for the double type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <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 value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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)
{
/// <summary>
/// Adds a condition for the CalendarTime type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <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 value</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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)
{
/// <summary>
/// Adds a child filter to a parent filter.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
/// <param name="logicalOperator">The operator type</param>
/// <param name="filter">The child filter</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddFilter(LogicalOperator logicalOperator, CalendarFilter filter)
{
/// <summary>
/// A list of records with the same type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class CalendarList:IDisposable
{
private Int64 _memoryPressure = 20;
/// <summary>
/// Creates a calendar list.
/// </summary>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
public CalendarList()
{
/// <summary>
/// The count of the calendar entity.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The count of calendar entity.</value>
public int Count
{
/// <summary>
/// Adds a record to the calendar list.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="record">The record to be added</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddRecord(CalendarRecord record)
{
/// <summary>
/// Removes a record from the calendar list.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="record">The record to be removed</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void RemoveRecord(CalendarRecord record)
{
/// <summary>
/// Retrieves a record from the calendar list.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <returns>
/// calendar record
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
public CalendarRecord GetCurrentRecord()
{
IntPtr handle;
/// <summary>
/// Moves a calendar list to the previous position.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <returns>
/// if cursor is moved to the end, it returns false.
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
public bool MovePrevious()
{
int error = Interop.List.Prev(_listHandle);
/// <summary>
/// Moves a calendar list to the next position.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <returns>
/// if cursor is moved to the end, it returns false.
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
public bool MoveNext()
{
int error = Interop.List.Next(_listHandle);
/// <summary>
/// Moves a calendar list to the first position.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
public void MoveFirst()
{
int error = Interop.List.First(_listHandle);
/// <summary>
/// Moves a calendar list to the last position.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
public void MoveLast()
{
int error = Interop.List.Last(_listHandle);
/// <summary>
/// A class for managing calendar information. It allows applications to use calendar service.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class CalendarManager : IDisposable
{
private CalendarDatabase _db = null;
/// <summary>
/// Create a manager.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/privilege/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation</exception>
public CalendarManager()
{
/// <summary>
/// Get database.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The database instance</value>
public CalendarDatabase Database
{
/// <summary>
/// A query is used to retrieve data which satisfies given criteria.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <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,
/// <summary>
/// Creates a query.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/feature/calendar</feature>
/// <param name="viewUri">The view URI of a query</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Adds property IDs for projection.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyIdArray">The property ID array </param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetProjection(uint[] propertyIdArray)
{
/// <summary>
/// Sets the "distinct" option for projection.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="set">If true it is set, otherwise if false it is unset</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetDistinct(bool set)
{
/// <summary>
/// Sets the filter for a query.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="filter">The filter</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetFilter(CalendarFilter filter)
{
/// <summary>
/// Sets the sort mode for a query.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID to sort</param>
/// <param name="isAscending">If true it sorts in the ascending order, otherwise if false it sorts in the descending order</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void SetSort(uint propertyId, bool isAscending)
{
/// <summary>
/// A record represents an actual record in the database
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>
/// A record represents an actual record in the database,
/// but you can also consider it a piece of information, such as an alarm, attendee and extended.
/// <summary>
/// Creates a record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <feature>http://tizen.org/feature/calendar</feature>
/// <param name="viewUri">The view URI</param>
- /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+ /// <exception cref="NotSupportedException">Thrown when feature 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")]
/// <summary>
/// Makes a clone of a record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <returns>
/// A cloned record
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
public CalendarRecord Clone()
{
/// <summary>
/// Get record URI.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The URI of the record</value>
[SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings")]
public string Uri
/// <summary>
/// Gets a object from a record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <returns>
/// The value of the property corresponding to property id.
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public T Get<T>(uint propertyId)
{
/// <summary>
/// Sets a value of the property to a record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <param name="value">value</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void Set<T>(uint propertyId, T value)
{
/// <summary>
/// Adds a child record to the parent record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <param name="childRecord">The child record</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void AddChildRecord(uint propertyId, CalendarRecord childRecord)
{
/// <summary>
/// Removes a child record from the parent record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <param name="childRecord">The child record</param>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public void RemoveChildRecord(uint propertyId, CalendarRecord childRecord)
{
/// <summary>
/// Gets a child record from the parent record
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <returns>
/// The number of child records corresponding to property ID
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public int GetChildRecordCount(uint propertyId)
{
/// <summary>
/// Gets a child record from the parent record
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <param name="index">The child record index</param>
/// <returns>
/// The record
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public CalendarRecord GetChildRecord(uint propertyId, int index)
{
/// <summary>
/// Clones a child record list corresponding to property ID
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="propertyId">The property ID</param>
/// <returns>
/// the record list
/// </returns>
+ /// <feature>http://tizen.org/feature/calendar</feature>
+ /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
/// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
public CalendarList CloneChildRecordList(uint propertyId)
{
/// <summary>
/// A class for reminder for event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <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>
/// <summary>
/// Reminder event is triggered when the alarm is alerted.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static event EventHandler<ReminderAlertedEventArgs> ReminderAlerted
{
add
/// <summary>
/// A class for time to set, get or calculate.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class CalendarTime:IComparable<CalendarTime>
{
internal int _type;
/// <summary>
/// Enumeration for the time type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Type
{
/// <summary>
/// UTC time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Utc,
/// <summary>
/// Local time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Local
}
/// <summary>
/// Create UTC CalendarTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="utcTime">UTC epoch time. 0 is 1971/01/01</param>
public CalendarTime(long utcTime)
{
/// <summary>
/// Create Local CalendarTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="year">year</param>
/// <param name="month">month</param>
/// <param name="day">day</param>
/// <summary>
/// Get UtcTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The Utc time</value>
public DateTime UtcTime
{
/// <summary>
/// Get localTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>The Localtime</value>
public DateTime LocalTime
{
/// <summary>
/// Compare CalendarTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <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.
/// <summary>
/// Equals CalendarTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <param name="obj">The CalendarTime to be compared</param>
/// <returns>
/// A 32-bit signed integer that indicates the relative order of the objects being compared.
if (_type != other._type)
{
Log.Error(Globals.LogTag, "Not to compare with different type");
- throw CalendarErrorFactory.GetException((int)CalendarError.InvalidParameter);
+ return false;
}
if (_type == (int)Type.Utc)
else
return LocalTime.Equals(other.LocalTime);
}
+
+ /// <summary>
+ /// GetHashCode CalendarTime
+ /// </summary>
+ /// <since_tizen> 4 </since_tizen>
+ /// <returns>
+ /// A hash code for the current object.
+ /// </returns>
+ public override int GetHashCode()
+ {
+ if (_type == (int)Type.Utc)
+ return this.UtcTime.GetHashCode();
+ else
+ return this.LocalTime.GetHashCode();
+ }
}
}
/// <summary>
/// This class provides enumerations about calendar information.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>
/// Most enumerations are based on vcalendar, icalendar(ver 2.0) specification.
/// https://www.ietf.org/rfc/rfc2445.txt
/// <summary>
/// Enumeration for Default book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum DefaultBook
{
/// <summary>
/// Default event calendar book.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Event,
/// <summary>
/// Default Todo calendar book.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Todo,
/// <summary>
/// Default Birthday calendar book.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Birthday,
}
/// <summary>
/// Enumeration for Store type
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum StoreType
{
/// <summary>
/// Book type
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Book,
/// <summary>
/// Event type
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Event,
/// <summary>
/// Todo type
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Todo,
}
/// <summary>
/// Enumeration for the book mode.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum BookMode
{
/// <summary>
/// All modules can read and write records of this calendar_book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Default,
/// <summary>
/// All modules can only read records of this calendar book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
ReadOnly,
}
/// <summary>
/// Enumeration for the event status.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum EventStatus
{
/// <summary>
/// No status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None = 0x01,
/// <summary>
/// The event is tentative
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Tentative = 0x02,
/// <summary>
/// The event is confirmed
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Confirmed = 0x04,
/// <summary>
/// The event is cancelled
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Cancelled = 0x08,
}
/// <summary>
/// Enumeration for for the status of a to-do.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum TodoStatus
{
/// <summary>
/// No status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None = 0x0100,
/// <summary>
/// Needs action status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
NeedAction = 0x0200,
/// <summary>
/// Completed status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Completed = 0x0400,
/// <summary>
/// Work in process status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
InProcess = 0x0800,
/// <summary>
/// Cancelled status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Cancelled = 0x1000,
}
/// <summary>
/// Enumeration for the busy status of an event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum BusyStatus
{
/// <summary>
/// The free status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Free,
/// <summary>
/// The busy status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Busy,
/// <summary>
/// The unavailable status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Unavailable,
/// <summary>
/// The tentative status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Tentative,
}
/// <summary>
/// Enumeration for the calendar sensitivity type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Sensitivity
{
/// <summary>
/// Public Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Public,
/// <summary>
/// Private Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Private,
/// <summary>
/// Confidential Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Confidential,
}
/// <summary>
/// Enumeration for the meeting status.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum MeetingStatus
{
/// <summary>
/// No meeting
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
NoMeeting,
/// <summary>
/// Meeting exists
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Meeting,
/// <summary>
/// Meeting received
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Received,
/// <summary>
/// Meeting cancelled
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Cancelled,
}
/// <summary>
/// Enumeration for the calendar event item's priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Priority
{
/// <summary>
/// No priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None = 0x01,
/// <summary>
/// Low priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
High = 0x02,
/// <summary>
/// Normal priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Normal = 0x04,
/// <summary>
/// High priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Low = 0x08,
}
/// <summary>
/// Enumeration for the frequency of an event's recurrence.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Recurrence
{
/// <summary>
/// No recurrence event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None,
/// <summary>
/// An event occurs every day
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Daily,
/// <summary>
/// An event occurs on the same day of every week. According to the week flag, the event will recur every day of the week
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Weekly,
/// <summary>
/// An event occurs on the same day of every month
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Monthly,
/// <summary>
/// An event occurs on the same day of every year
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Yearly,
}
/// <summary>
/// Enumeration for the range type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum RangeType
{
/// <summary>
/// Range until
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Until,
/// <summary>
/// Range count
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Count,
/// <summary>
/// No range
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None,
}
/// <summary>
/// Enumeration for the system type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum SystemType
{
/// <summary>
/// Locale's default calendar
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Default,
/// <summary>
/// Locale's default calendar
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Gregorian,
/// <summary>
/// East Asian lunisolar calendar
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Lunisolar,
}
/// <summary>
/// Enumeration for the alarm time unit type of an event, such as minutes, hours, days, and so on.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum TickUnit
{
/// <summary>
/// No reminder set
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
None = -1,
/// <summary>
/// Specific in seconds
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Specific = 1,
/// <summary>
/// Alarm time unit in minutes
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Minute = 60,
/// <summary>
/// Alarm time unit in hours
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Hour = 3600,
/// <summary>
/// Alarm time unit in days
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Day = 86400,
/// <summary>
/// Alarm time unit in weeks
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Week = 604800,
}
/// <summary>
/// Enumeration for weekdays.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum WeekDay
{
/// <summary>
/// Sunday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Sunday = 1,
/// <summary>
/// Monday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Monday,
/// <summary>
/// Tuesday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Tuesday,
/// <summary>
/// Wednesday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Wednesday,
/// <summary>
/// Thursday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Thursday,
/// <summary>
/// Friday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Friday,
/// <summary>
/// Saturday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Saturday,
}
/// <summary>
/// Enumeration to specify the type of calendar user specified by the property.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Cutype
{
/// <summary>
/// An individual
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Individual,
/// <summary>
/// A group of individuals
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Group,
/// <summary>
/// A physical resource
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Resource,
/// <summary>
/// A room resource
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Room,
/// <summary>
/// Otherwise not known
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Unknown,
}
/// <summary>
/// Enumeration for the attendee role.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum AttendeeRole
{
/// <summary>
/// Participation is required
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
ReqParticipant,
/// <summary>
/// Accepted status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
OptParticipant,
/// <summary>
/// Non-Participant
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
NonParticipant,
/// <summary>
/// Chairperson
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Chair,
}
/// <summary>
/// Enumeration for the attendee status.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum AttendeeStatus
{
/// <summary>
/// Pending status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Pending,
/// <summary>
/// Accepted status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Accepted,
/// <summary>
/// Declined status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Declined,
/// <summary>
/// Tentative status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Tentative,
/// <summary>
/// Delegated status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Delegated,
/// <summary>
/// Completed status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Completed,
/// <summary>
/// In process status
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
InProcess,
}
/// <summary>
/// Enumeration for the alarm action.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public enum Action
{
/// <summary>
/// Audio action
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Audio,
/// <summary>
/// Display action
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Display,
/// <summary>
/// Email action
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
Email,
}
}
/// <summary>
/// This namespace provides information about views with properties.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>
/// 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.
/// <summary>
/// Describes properties of a Book record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Book
{
/// <summary>
/// Identifier of this calendar book view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.book";
/// <summary>
/// DB record ID of the calendar book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Id = (uint)Property.Id.BookId;
/// <summary>
/// Unique identifier
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Uid = (uint)Property.Id.BookUid;
/// <summary>
/// Calendar book name
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Name = (uint)Property.Id.BookName;
/// <summary>
/// Calendar book description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.BookDescription;
/// <summary>
/// Calendar book color for UX
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Color = (uint)Property.Id.BookColor;
/// <summary>
/// Location of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.BookLocation;
/// <summary>
/// Visibility of the calendar book for UX
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Visibility = (uint)Property.Id.BookVisibility;
/// <summary>
/// Currently NOT Used
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncEvent = (uint)Property.Id.BookSyncEvent;
/// <summary>
/// Account for this calendar
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint AccountId = (uint)Property.Id.BookAccountId;
/// <summary>
/// Type of calendar contents(refer to the CalendarTypes.StoreType)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StoreType = (uint)Property.Id.BookStoreType;
/// <summary>
/// Generic data for use by syncing
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData1 = (uint)Property.Id.BookSyncData1;
/// <summary>
/// Generic data for use by syncing
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData2 = (uint)Property.Id.BookSyncData2;
/// <summary>
/// Generic data for use by syncing
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData3 = (uint)Property.Id.BookSyncData3;
/// <summary>
/// Generic data for use by syncing
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData4 = (uint)Property.Id.BookSyncData4;
/// <summary>
/// Calendar book mode(refer to the CalendarTypes.BookMode)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Mode = (uint)Property.Id.BookMode;
}
/// <summary>
/// Describes properties of a Event record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords")]
public static class Event
{
/// <summary>
/// Identifier of this event view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.event";
/// <summary>
/// DB record ID of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Id = (uint)Property.Id.EventId;
/// <summary>
/// ID of the calendar book to which the event belongs
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.EventBookId;
/// <summary>
/// The short description of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.EventSummary;
/// <summary>
/// The description of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.EventDescription;
/// <summary>
/// The location of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.EventLocation;
/// <summary>
/// The category of the event. For example APPOINTMENT, BIRTHDAY
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint Exdate = (uint)Property.Id.EventExdate;
/// <summary>
/// The status of event(refer to the CalendarTypes.EventStatus).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventStatus = (uint)Property.Id.EventEventStatus;
/// <summary>
/// The priority of event(refer to the CalendarTypes.Priority).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.EventPriority;
/// <summary>
/// The timezone_id of the event if it exists.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint ContactId = (uint)Property.Id.EventContactId;
/// <summary>
/// The busy status of event(refer to the CalendarTypes.BusyStatus).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BusyStatus = (uint)Property.Id.EventBusyStatus;
/// <summary>
/// The Sensitivity of event(refer to the CalendarTypes.Sensitivity).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.EventSensitivity;
/// <summary>
/// The unique ID of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Uid = (uint)Property.Id.EventUid;
/// <summary>
/// The name of organizer of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerName = (uint)Property.Id.EventOrganizerName;
/// <summary>
/// The email address of the organizer of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerEmail = (uint)Property.Id.EventOrganizerEmail;
/// <summary>
/// The meeting status of event(refer to the CalendarTypes.MeetingStatus).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint MeetingStatus = (uint)Property.Id.EventMeetingStatus;
/// <summary>
/// The ID of the original event if the event is an exception.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OriginalEventId = (uint)Property.Id.EventOriginalEventId;
/// <summary>
/// The latitude of the location of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.EventLatitude;
/// <summary>
/// The longitude of the location of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.EventLongitude;
/// <summary>
/// ID of the email_id. Refer to the email-service.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EmailId = (uint)Property.Id.EventEmailId;
/// <summary>
/// The time when the event is created
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CreatedTime = (uint)Property.Id.EventCreatedTime;
/// <summary>
/// The time when the event is updated
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedTime = (uint)Property.Id.EventLastModifiedTime;
/// <summary>
/// Whether or not the event is deleted
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsDeleted = (uint)Property.Id.EventIsDeleted;
/// <summary>
/// The frequent type of event recurrence(refer to the CalendarTypes.Recurrence).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Freq = (uint)Property.Id.EventFreq;
/// <summary>
/// The range type of event recurrence(refer to the CalendarTypes.RangeType).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint Until = (uint)Property.Id.EventUntil;
/// <summary>
/// The count of the event recurrence. Only if this is used with RangeType.Count.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Count = (uint)Property.Id.EventCount;
/// <summary>
/// The interval of the event recurrence
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint Bysetpos = (uint)Property.Id.EventBysetpos;
/// <summary>
/// The start day of the week(refer to the CalendarTypes.WeekDay).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Wkst = (uint)Property.Id.EventWkst;
/// <summary>
/// RECURRENCE-ID of RFC #2445
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint RecurrenceId = (uint)Property.Id.EventRecurrenceId;
/// <summary>
/// RDATE of RFC #2445
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Rdate = (uint)Property.Id.EventRdate;
/// <summary>
/// Whether or not the event has an attendee list
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAttendee = (uint)Property.Id.EventHasAttendee;
/// <summary>
/// Whether or not the event has an alarm list
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData4 = (uint)Property.Id.EventSyncData4;
/// <summary>
/// The start time of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.EventStart;
/// <summary>
/// The end time of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint End = (uint)Property.Id.EventEnd;
/// <summary>
/// The alarm list of the event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Alarm = (uint)Property.Id.EventAlarm;
/// <summary>
/// The attendee list of the event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Attendee = (uint)Property.Id.EventAttendee;
/// <summary>
/// The Calendar system type(refer to the CalendarTypes.SystemType).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CalendarSystemType = (uint)Property.Id.EventCalendarSystemType;
/// <summary>
/// The timezone of the start_time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StartTzid = (uint)Property.Id.EventStartTzid;
/// <summary>
/// The timezone of the end_time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EndTzid = (uint)Property.Id.EventEndTzid;
/// <summary>
/// The exception mod event list of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Exception = (uint)Property.Id.EventException;
/// <summary>
/// The extended property list of the event.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Extended = (uint)Property.Id.EventExtended;
/// <summary>
/// The event is an allday event or not
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsAllday = (uint)Property.Id.EventIsAllday;
/// <summary>
/// The linked event count
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LinkCount = (uint)Property.Id.EventLinkCount;
/// <summary>
/// The event is an base linked event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LinkBaseId = (uint)Property.Id.EventLinkBaseId;
}
/// <summary>
/// Describes properties of a Todo record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Todo
{
/// <summary>
/// Identifier of this todo view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.todo";
/// <summary>
/// DB record ID of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Id = (uint)Property.Id.TodoId;
/// <summary>
/// ID of the calendar book to which the todo belongs
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.TodoBookId;
/// <summary>
/// The short description of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.TodoSummary;
/// <summary>
/// The description of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.TodoDescription;
/// <summary>
/// The location of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.TodoLocation;
/// <summary>
/// The category of the todo. i.g. APPOINTMENT, BIRTHDAY
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Categories = (uint)Property.Id.TodoCategories;
/// <summary>
/// The status of todo(refer to the CalendarTypes.TodoStatus).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint TodoStatus = (uint)Property.Id.TodoStatus;
/// <summary>
/// The Priority of todo(refer to the CalendarTypes.Priority).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.TodoPriority;
/// <summary>
/// The Sensitivity of todo(refer to the CalendarTypes.Sensitivity).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.TodoSensitivity;
/// <summary>
/// The unique ID of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Uid = (uint)Property.Id.TodoUid;
/// <summary>
/// The latitude of the location of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.TodoLatitude;
/// <summary>
/// The longitude of the location of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.TodoLongitude;
/// <summary>
/// The progression of the todo. The value can be from 0 to 100
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Progress = (uint)Property.Id.TodoProgress;
/// <summary>
/// The time when the todo is create
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CreatedTime = (uint)Property.Id.TodoCreatedTime;
/// <summary>
/// The time when the todo is updated
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedTime = (uint)Property.Id.TodoLastModifiedTime;
/// <summary>
/// The time when the todo is completed
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CompletedTime = (uint)Property.Id.TodoCompletedTime;
/// <summary>
/// Whether or not the todo is deleted
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsDeleted = (uint)Property.Id.TodoIsDeleted;
/// <summary>
/// The frequent type of todo recurrence(refer to the CalendarTypes.Recurrence).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Freq = (uint)Property.Id.TodoFreq;
/// <summary>
/// The range type of todo recurrence(refer to the CalendarTypes.RangeType).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint Until = (uint)Property.Id.TodoUntil;
/// <summary>
/// The count of the todo recurrence. Only if this is used with RangeType.Count.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Count = (uint)Property.Id.TodoCount;
/// <summary>
/// The interval of the todo recurrence
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint Bysetpos = (uint)Property.Id.TodoBysetpos;
/// <summary>
/// The start day of the week(refer to the CalendarTypes.WeekDay).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Wkst = (uint)Property.Id.TodoWkst;
/// <summary>
/// Whether or not the todo has an alarm list
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData4 = (uint)Property.Id.TodoSyncData4;
/// <summary>
/// The start time of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.TodoStart;
/// <summary>
/// The due time of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Due = (uint)Property.Id.TodoDue;
/// <summary>
/// The alarm list of the todo.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Alarm = (uint)Property.Id.TodoAlarm;
/// <summary>
/// The timezone of the start_time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StartTzid = (uint)Property.Id.TodoStartTzid;
/// <summary>
/// The timezone of the due_time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DueTzid = (uint)Property.Id.TodoDueTzid;
/// <summary>
/// The name of the organizer of the event
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerName = (uint)Property.Id.TodoOrganizerName;
/// <summary>
/// The email address of the organizer of the todo
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerEmail = (uint)Property.Id.TodoOrganizerEmail;
/// <summary>
/// Whether or not the todo has an attendee list
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAttendee = (uint)Property.Id.TodoHasAttendee;
/// <summary>
/// The attendee list of the todo.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Attendee = (uint)Property.Id.TodoAttendee;
/// <summary>
/// The extended property list of the todo.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Extended = (uint)Property.Id.TodoExtended;
/// <summary>
/// The todo is an allday event or not
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsAllday = (uint)Property.Id.TodoIsAllday;
}
/// <summary>
/// Describes properties of a Timezone record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Timezone
{
/// <summary>
/// Identifier of this timezone view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.timezone";
/// <summary>
/// DB record ID of the timezone
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint TzOffsetFromGmt = (uint)Property.Id.TimezoneTzOffsetFromGmt;
/// <summary>
/// Name of the Standard Time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StandardName = (uint)Property.Id.TimezoneStandardName;
/// <summary>
/// Starting month of the Standard Time. Month is 0-based. eg, 0 for January
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StdStartMonth = (uint)Property.Id.TimezoneStdStartMonth;
/// <summary>
/// Starting day-of-week-in-month of the Standard Time. Day is 1-based
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
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>
+ /// <since_tizen> 4 </since_tizen>
public const uint StdStartDay = (uint)Property.Id.TimezoneStdStartDay;
/// <summary>
/// Starting hour of the Standard Time. Valid values are 0 to 23
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StdStartHour = (uint)Property.Id.TimezoneStdStartHour;
/// <summary>
/// The number of minutes added during the Standard Time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint StandardBias = (uint)Property.Id.TimezoneStandardBias;
/// <summary>
/// Name of Daylight
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightName = (uint)Property.Id.TimezoneDayLightName;
/// <summary>
/// Starting month of Daylight. Month is 0-based. eg, 0 for January
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightStartMonth = (uint)Property.Id.TimezoneDayLightStartMonth;
/// <summary>
/// Starting day-of-week-in-month of Daylight. Day is 1-based
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightStartPositionOfWeek = (uint)Property.Id.TimezoneDayLightStartPositionOfWeek;
/// <summary>
/// Starting day-of-week of Daylight. Valid values are 1(SUNDAY) to 7(SATURDAY)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightStartDay = (uint)Property.Id.TimezoneDayLightStartDay;
/// <summary>
/// Starting hour of Daylight. Valid values are 0 to 23
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightStartHour = (uint)Property.Id.TimezoneDayLightStartHour;
/// <summary>
/// The number of minutes added during Daylight Time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DayLightBias = (uint)Property.Id.TimezoneDayLightBias;
/// <summary>
/// DB record ID of a related calendar book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CalendarId = (uint)Property.Id.TimezoneCalendarId;
}
/// <summary>
/// Describes properties of a Attendee record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Attendee
{
/// <summary>
/// Identifier of this calendar attendee view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.attendee";
/// <summary>
/// The number of the attendee
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Number = (uint)Property.Id.AttendeeNumber;
/// <summary>
/// The type of attendee(refer to the CalendarTypes.Cutype).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Cutype = (uint)Property.Id.AttendeeCutype;
/// <summary>
/// CtIndex
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CtIndex = (uint)Property.Id.AttendeeCtIndex;
/// <summary>
/// Unique identifier
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Uid = (uint)Property.Id.AttendeeUid;
/// <summary>
/// Group
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Group = (uint)Property.Id.AttendeeGroup;
/// <summary>
/// The email address of the attendee
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Email = (uint)Property.Id.AttendeeEmail;
/// <summary>
/// Attendee role(refer to the CalendarTypes.AttendeeRole).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Role = (uint)Property.Id.AttendeeRole;
/// <summary>
/// Attendee status(refer to the CalendarTypes.AttendeeStatus).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Status = (uint)Property.Id.AttendeeStatus;
/// <summary>
/// RSVP invitation reply (one of true, false)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Rsvp = (uint)Property.Id.AttendeeRsvp;
/// <summary>
/// Delegatee (DELEGATED-TO)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DelegateeUri = (uint)Property.Id.AttendeeDelegateeUri;
/// <summary>
/// Delegator (DELEGATED-FROM)
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint DelegatorUri = (uint)Property.Id.AttendeeDelegatorUri;
/// <summary>
/// Attendee name
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Name = (uint)Property.Id.AttendeeName;
/// <summary>
/// Group that the attendee belongs to
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Member = (uint)Property.Id.AttendeeMember;
/// <summary>
/// Event/TODO that the attendee belongs to
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint ParentId = (uint)Property.Id.AttendeeParentId;
}
/// <summary>
/// Describes properties of a Alarm record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Alarm
{
/// <summary>
/// Identifier of this calendar alarm view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.alarm";
/// <summary>
/// The number of unit before start time. This MUST be used with one of TickUnit.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Tick = (uint)Property.Id.AlarmTick;
/// <summary>
/// Reminder tick time unit(refer to the CalendarTypes.TickUnit).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint TickUnit = (uint)Property.Id.AlarmTickUnit;
/// <summary>
/// Alarm description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.AlarmDescription;
/// <summary>
/// Event that the alarm belongs to
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint ParentId = (uint)Property.Id.AlarmParentId;
/// <summary>
/// Alarm summary
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.AlarmSummary;
/// <summary>
/// Action of alarm(refer to the CalendarTypes.Action).
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Action = (uint)Property.Id.AlarmAction;
/// <summary>
/// Alarm tone path
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Attach = (uint)Property.Id.AlarmAttach;
/// <summary>
/// The alarm time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint AlarmTime = (uint)Property.Id.AlarmAlarm;
}
/// <summary>
/// Describes properties of a InstanceUtimeBook record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>Read only view</remarks>
public static class InstanceUtimeBook
{
/// <summary>
/// Identifier of this instance utime book
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.instance_utime/book";
/// <summary>
/// Event id
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventId = (uint)Property.Id.InstanceUtimeBookEventId;
/// <summary>
/// Start time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.InstanceUtimeBookStart;
/// <summary>
/// End time
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint End = (uint)Property.Id.InstanceUtimeBookEnd;
/// <summary>
/// Summary
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.InstanceUtimeBookSummary;
/// <summary>
/// Location
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.InstanceUtimeBookLocation;
/// <summary>
/// Book id
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.InstanceUtimeBookBookId;
/// <summary>
/// Description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.InstanceUtimeBookDescription;
/// <summary>
/// BusyStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BusyStatus = (uint)Property.Id.InstanceUtimeBookBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventStatus = (uint)Property.Id.InstanceUtimeBookEventStatus;
/// <summary>
/// Priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.InstanceUtimeBookPriority;
/// <summary>
/// Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.InstanceUtimeBookSensitivity;
/// <summary>
/// HasRrule
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasRrule = (uint)Property.Id.InstanceUtimeBookHasRrule;
/// <summary>
/// Latitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.InstanceUtimeBookLatitude;
/// <summary>
/// Longitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.InstanceUtimeBookLongitude;
/// <summary>
/// HasAlarm
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAlarm = (uint)Property.Id.InstanceUtimeBookHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OriginalEventId = (uint)Property.Id.InstanceUtimeBookOriginalEventId;
/// <summary>
/// LastModifiedtime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedtime = (uint)Property.Id.InstanceUtimeBookLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData1 = (uint)Property.Id.InstanceUtimeBookSyncData1;
}
/// <summary>
/// Describes properties of a InstanceLocaltimeBook record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>Read only view</remarks>
public static class InstanceLocaltimeBook
{
/// <summary>
/// Uri
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.instance_localtime/book";
/// <summary>
/// EventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventId = (uint)Property.Id.InstanceLocaltimeBookEventId;
/// <summary>
/// Start
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.InstanceLocaltimeBookStart;
/// <summary>
/// End
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint End = (uint)Property.Id.InstanceLocaltimeBookEnd;
/// <summary>
/// Summary
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.InstanceLocaltimeBookSummary;
/// <summary>
/// Location
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.InstanceLocaltimeBookLocation;
/// <summary>
/// BookId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.InstanceLocaltimeBookBookId;
/// <summary>
/// Description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.InstanceLocaltimeBookDescription;
/// <summary>
/// BusyStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BusyStatus = (uint)Property.Id.InstanceLocaltimeBookBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventStatus = (uint)Property.Id.InstanceLocaltimeBookEventStatus;
/// <summary>
/// Priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.InstanceLocaltimeBookPriority;
/// <summary>
/// Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.InstanceLocaltimeBookSensitivity;
/// <summary>
/// HasRrule
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasRrule = (uint)Property.Id.InstanceLocaltimeBookHasRrule;
/// <summary>
/// Latitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.InstanceLocaltimeBookLatitude;
/// <summary>
/// Longitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.InstanceLocaltimeBookLongitude;
/// <summary>
/// HasAlarm
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAlarm = (uint)Property.Id.InstanceLocaltimeBookHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OriginalEventId = (uint)Property.Id.InstanceLocaltimeBookOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedTime = (uint)Property.Id.InstanceLocaltimeBookLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData1 = (uint)Property.Id.InstanceLocaltimeBookSyncData1;
/// <summary>
/// IsAllday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsAllday = (uint)Property.Id.InstanceLocaltimeBookIsAllday;
}
/// <summary>
/// Describes properties of a InstanceUtimeBookExtended record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>Read only view</remarks>
public static class InstanceUtimeBookExtended
{
/// <summary>
/// Uri
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.extended/instance_utime/book";
/// <summary>
/// EventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventId = (uint)Property.Id.InstanceUtimeBookExtendedEventId;
/// <summary>
/// Start
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.InstanceUtimeBookExtendedStart;
/// <summary>
/// End
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint End = (uint)Property.Id.InstanceUtimeBookExtendedEnd;
/// <summary>
/// Summary
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.InstanceUtimeBookExtendedSummary;
/// <summary>
/// Location
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.InstanceUtimeBookExtendedLocation;
/// <summary>
/// BookId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.InstanceUtimeBookExtendedBookId;
/// <summary>
/// Description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.InstanceUtimeBookExtendedDescription;
/// <summary>
/// BusyStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BusyStatus = (uint)Property.Id.InstanceUtimeBookExtendedBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventStatus = (uint)Property.Id.InstanceUtimeBookExtendedEventStatus;
/// <summary>
/// Priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.InstanceUtimeBookExtendedPriority;
/// <summary>
/// Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.InstanceUtimeBookExtendedSensitivity;
/// <summary>
/// HasRrule
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasRrule = (uint)Property.Id.InstanceUtimeBookExtendedHasRrule;
/// <summary>
/// Latitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.InstanceUtimeBookExtendedLatitude;
/// <summary>
/// Longitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.InstanceUtimeBookExtendedLongitude;
/// <summary>
/// HasAlarm
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAlarm = (uint)Property.Id.InstanceUtimeBookExtendedHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OriginalEventId = (uint)Property.Id.InstanceUtimeBookExtendedOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedTime = (uint)Property.Id.InstanceUtimeBookExtendedLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData1 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData1;
/// <summary>
/// OrganizerName
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerName = (uint)Property.Id.InstanceUtimeBookExtendedOrganizerName;
/// <summary>
/// Categories
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Categories = (uint)Property.Id.InstanceUtimeBookExtendedCategories;
/// <summary>
/// HasAttendee
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAttendee = (uint)Property.Id.InstanceUtimeBookExtendedHasAttendee;
/// <summary>
/// SyncData2
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData2 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData2;
/// <summary>
/// SyncData3
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData3 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData3;
/// <summary>
/// SyncData4
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData4 = (uint)Property.Id.InstanceUtimeBookExtendedSyncData4;
}
/// <summary>
/// Describes properties of a InstanceLocaltimeBookExtended record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>Read only view</remarks>
public static class InstanceLocaltimeBookExtended
{
/// <summary>
/// Uri
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.extended/instance_localtime/book";
/// <summary>
/// EventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventId = (uint)Property.Id.InstanceLocaltimeBookExtendedEventId;
/// <summary>
/// Start
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Start = (uint)Property.Id.InstanceLocaltimeBookExtendedStart;
/// <summary>
/// End
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint End = (uint)Property.Id.InstanceLocaltimeBookExtendedEnd;
/// <summary>
/// Summary
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Summary = (uint)Property.Id.InstanceLocaltimeBookExtendedSummary;
/// <summary>
/// Location
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Location = (uint)Property.Id.InstanceLocaltimeBookExtendedLocation;
/// <summary>
/// BookId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BookId = (uint)Property.Id.InstanceLocaltimeBookExtendedBookId;
/// <summary>
/// Description
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Description = (uint)Property.Id.InstanceLocaltimeBookExtendedDescription;
/// <summary>
/// BusyStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint BusyStatus = (uint)Property.Id.InstanceLocaltimeBookExtendedBusyStatus;
/// <summary>
/// EventStatus
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint EventStatus = (uint)Property.Id.InstanceLocaltimeBookExtendedEventStatus;
/// <summary>
/// Priority
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Priority = (uint)Property.Id.InstanceLocaltimeBookExtendedPriority;
/// <summary>
/// Sensitivity
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Sensitivity = (uint)Property.Id.InstanceLocaltimeBookExtendedSensitivity;
/// <summary>
/// HasRrule
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasRrule = (uint)Property.Id.InstanceLocaltimeBookExtendedHasRrule;
/// <summary>
/// Latitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Latitude = (uint)Property.Id.InstanceLocaltimeBookExtendedLatitude;
/// <summary>
/// Longitude
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Longitude = (uint)Property.Id.InstanceLocaltimeBookExtendedLongitude;
/// <summary>
/// HasAlarm
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAlarm = (uint)Property.Id.InstanceLocaltimeBookExtendedHasAlarm;
/// <summary>
/// OriginalEventId
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OriginalEventId = (uint)Property.Id.InstanceLocaltimeBookExtendedOriginalEventId;
/// <summary>
/// LastModifiedTime
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint LastModifiedTime = (uint)Property.Id.InstanceLocaltimeBookExtendedLastModifiedTime;
/// <summary>
/// SyncData1
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData1 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData1;
/// <summary>
/// OrganizerName
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint OrganizerName = (uint)Property.Id.InstanceLocaltimeBookExtendedOrganizerName;
/// <summary>
/// Categories
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Categories = (uint)Property.Id.InstanceLocaltimeBookExtendedCategories;
/// <summary>
/// HasAttendee
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint HasAttendee = (uint)Property.Id.InstanceLocaltimeBookExtendedHasAttendee;
/// <summary>
/// SyncData2
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData2 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData2;
/// <summary>
/// SyncData3
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData3 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData3;
/// <summary>
/// SyncData4
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint SyncData4 = (uint)Property.Id.InstanceLocaltimeBookExtendedSyncData4;
/// <summary>
/// IsAllday
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint IsAllday = (uint)Property.Id.InstanceLocaltimeBookExtendedIsAllday;
}
/// <summary>
/// Describes properties of a UpdatedInfo record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <remarks>Read only view</remarks>
public static class UpdatedInfo
{
/// <summary>
/// Identifier of this updatedInfo view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.updated_info";
/// <summary>
/// Modified event(or todo) record ID
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Id = (uint)Property.Id.UpdateInfoId;
/// <summary>
/// Calendar book ID of the modified event(or todo) record
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint CalendarId = (uint)Property.Id.UpdateInfoCalendarId;
/// <summary>
/// Enumeration value of the modified status.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Type = (uint)Property.Id.UpdateInfoType;
/// <summary>
/// Version after change
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Version = (uint)Property.Id.UpdateInfoVersion;
}
/// <summary>
/// Describes properties of a Extended record.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public static class Extended
{
/// <summary>
/// Identifier of this extended_property view
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const string Uri = "tizen.calendar_view.extended_property";
/// <summary>
/// DB record ID of the extended_property
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Id = (uint)Property.Id.ExtendedId;
/// <summary>
/// Related record ID
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint RecordId = (uint)Property.Id.ExtendedRecordId;
/// <summary>
/// Enumeration value of the record type.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint RecordType = (uint)Property.Id.ExtendedRecordType;
/// <summary>
/// The key of the property
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Key = (uint)Property.Id.ExtendedKey;
/// <summary>
/// The value of the property
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public const uint Value = (uint)Property.Id.ExtendedValue;
}
}
/// <summary>
/// Event arguments passed when calendar database is changed
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class DBChangedEventArgs : EventArgs
{
internal DBChangedEventArgs(string viewUri)
/// <summary>
/// The calendar view URI changed.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public string ViewUri
{
get;
/// <remarks>
/// The Tizen.Pims.Calendar namespace provides classes for managing calendar information for schedule.
/// </remarks>
+/// <since_tizen> 4 </since_tizen>
namespace Tizen.Pims.Calendar {}
/// <summary>
/// Event arguments passed when alarm is alerted.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
public class ReminderAlertedEventArgs : EventArgs
{
internal ReminderAlertedEventArgs(string param)
/// <summary>
/// The parameter which data is combined.
/// </summary>
+ /// <since_tizen> 4 </since_tizen>
/// <value>
/// The combination of reminder data(Value string like id=value&time=value&tick=value&unit=value&type=value)
/// </value>