Merge "Fix build warnings"
authorSeechan Kim <cbible.kim@samsung.com>
Tue, 10 Oct 2017 08:18:38 +0000 (08:18 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 10 Oct 2017 08:18:38 +0000 (08:18 +0000)
53 files changed:
src/ElmSharp/Interop/Interop.Evas.Image.cs
src/Tizen.Applications.AttachPanel/Tizen.Applications.AttachPanel/AttachPanel.cs
src/Tizen.Applications.Common/Tizen.Applications.CoreBackend/DefaultCoreBackend.cs
src/Tizen.Applications.Common/Tizen.Applications/AppControl.cs
src/Tizen.Applications.Common/Tizen.Applications/Bundle.cs
src/Tizen.Applications.PackageManager/Tizen.Applications/PackageType.cs [changed mode: 0755->0644]
src/Tizen.Applications.Preference/Tizen.Applications/Preference.cs
src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaDatabase.cs
src/Tizen.Content.MediaContent/Tizen.Content.MediaContent/MediaInfoCommand.cs
src/Tizen.Content.MimeType/Tizen.Content.MimeType/MimeUtil.cs [changed mode: 0755->0644]
src/Tizen.Maps/Tizen.Maps/Area.cs
src/Tizen.Maps/Tizen.Maps/Geocoordinates.cs
src/Tizen.Maps/Tizen.Maps/MapService.cs
src/Tizen.Maps/Tizen.Maps/MapServiceRequest.cs
src/Tizen.Maps/Tizen.Maps/MapView.cs
src/Tizen.Maps/Tizen.Maps/Marker.cs
src/Tizen.Maps/Tizen.Maps/Overlay.cs
src/Tizen.Maps/Tizen.Maps/Place.cs
src/Tizen.Maps/Tizen.Maps/PlaceAddress.cs
src/Tizen.Maps/Tizen.Maps/PlaceCategory.cs
src/Tizen.Maps/Tizen.Maps/PlaceFilter.cs
src/Tizen.Maps/Tizen.Maps/Polygon.cs
src/Tizen.Maps/Tizen.Maps/Polyline.cs
src/Tizen.Maps/Tizen.Maps/Route.cs
src/Tizen.Maps/Tizen.Maps/SearchPreference.cs
src/Tizen.Messaging/Tizen.Messaging.Email/EmailMessage.cs
src/Tizen.Messaging/Tizen.Messaging.Email/NamespaceDoc.cs [changed mode: 0755->0644]
src/Tizen.Messaging/Tizen.Messaging.Messages/Message.cs [changed mode: 0755->0644]
src/Tizen.Messaging/Tizen.Messaging.Messages/NamespaceDoc.cs [changed mode: 0755->0644]
src/Tizen.Network.WiFiDirect/Tizen.Network.WiFiDirect/NamespaceDoc.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/NamespaceDoc.cs
src/Tizen.PhonenumberUtils/Tizen.PhonenumberUtils/PhonenumberUtils.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarDatabase.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarErrorFactory.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarList.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarQuery.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarReminder.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/CalendarViews.cs
src/Tizen.Pims.Calendar/Tizen.Pims.Calendar/NamespaceDoc.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/ContactsViews.cs
src/Tizen.Pims.Contacts/Tizen.Pims.Contacts/NamespaceDoc.cs
src/Tizen.Uix.InputMethod/Interop/Interop.InputMethod.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/EditorWindow.cs
src/Tizen.Uix.InputMethod/Tizen.Uix.InputMethod/InputMethodEditor.cs
src/Tizen.Uix.InputMethodManager/Interop/Interop.InputMethodManager.cs
src/Tizen.Uix.Stt/Interop/Interop.Stt.cs
src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs [changed mode: 0644->0755]
src/Tizen.Uix.SttEngine/Interop/Interop.SttEngine.cs
src/Tizen.Uix.Tts/Interop/Interop.Tts.cs
src/Tizen.Uix.Tts/Tizen.Uix.Tts/SupportedVoice.cs
src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs
src/Tizen.Uix.TtsEngine/Interop/Interop.TtsEngine.cs
src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs

index 815afff..101eabe 100644 (file)
@@ -34,7 +34,7 @@ internal static partial class Interop
         [DllImport(Libraries.Evas)]
         internal static extern void evas_object_image_file_set(IntPtr obj, string file, string key);
 
-        [DllImport(Libraries.Evas, EntryPoint = "_evas_object_image_file_get")]
+        [DllImport(Libraries.Evas, EntryPoint = "evas_object_image_file_get")]
         internal static extern void _evas_object_image_file_get(IntPtr obj, out IntPtr file, out IntPtr key);
 
         internal static void evas_object_image_file_get(IntPtr obj, out string file, out string key)
index bd403f0..3c220bd 100755 (executable)
@@ -39,6 +39,9 @@ namespace Tizen.Applications.AttachPanel
             }
         }
 
+        /// <summary>
+        /// A destructor which deallocates attach panel resources.
+        /// </summary>
         ~AttachPanel()
         {
             if (isCreationSucceed &&
index 24915d9..5799ebc 100755 (executable)
@@ -16,7 +16,7 @@
 
 using System;
 using System.Collections.Generic;
-
+using System.ComponentModel;
 using Tizen.Internals.Errors;
 
 namespace Tizen.Applications.CoreBackend
@@ -31,52 +31,120 @@ namespace Tizen.Applications.CoreBackend
         /// </summary>
         public enum AppEventType
         {
+            /// <summary>
+            /// The low memory event.
+            /// </summary>
             LowMemory = 0,
+
+            /// <summary>
+            /// The low battery event.
+            /// </summary>
             LowBattery,
+
+            /// <summary>
+            /// The system language changed event.
+            /// </summary>
             LanguageChanged,
+
+            /// <summary>
+            /// The device orientation changed event.
+            /// </summary>
             DeviceOrientationChanged,
+
+            /// <summary>
+            /// The region format changed event.
+            /// </summary>
             RegionFormatChanged,
+
+            /// <summary>
+            /// The suspended state changed event of the application.
+            /// </summary>
             SuspendedStateChanged
         }
 
+        /// <summary>
+        /// Tag string for this class.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected static readonly string LogTag = typeof(DefaultCoreBackend).Namespace;
 
+        /// <summary>
+        /// Data structure for event handlers.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected IDictionary<EventType, object> Handlers = new Dictionary<EventType, object>();
 
+        /// <summary>
+        /// Constructor of DefaultCoreBackend class.
+        /// </summary>
         public DefaultCoreBackend()
         {
         }
 
+        /// <summary>
+        /// Finalizer of DefaultCoreBackend class.
+        /// </summary>
         ~DefaultCoreBackend()
         {
             Dispose(false);
         }
 
-        public void AddEventHandler(EventType evType, Action handler)
+        /// <summary>
+        /// Adds an event handler.
+        /// </summary>
+        /// <param name="evType">The type of event.</param>
+        /// <param name="handler">The handler method without arguments.</param>
+        public virtual void AddEventHandler(EventType evType, Action handler)
         {
             Handlers.Add(evType, handler);
         }
 
-        public void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler) where TEventArgs : EventArgs
+        /// <summary>
+        /// Adds an event handler.
+        /// </summary>
+        /// <typeparam name="TEventArgs">The EventArgs type used in arguments of the handler method.</typeparam>
+        /// <param name="evType">The type of event.</param>
+        /// <param name="handler">The handler method with a TEventArgs type argument.</param>
+        public virtual void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler) where TEventArgs : EventArgs
         {
             Handlers.Add(evType, handler);
         }
 
+        /// <summary>
+        /// Runs the mainloop of the backend.
+        /// </summary>
+        /// <param name="args"></param>
         public virtual void Run(string[] args)
         {
             TizenSynchronizationContext.Initialize();
         }
 
+        /// <summary>
+        /// Exits the mainloop of the backend.
+        /// </summary>
         public abstract void Exit();
 
+        /// <summary>
+        /// Releases all resources.
+        /// </summary>
         public void Dispose()
         {
             Dispose(true);
             GC.SuppressFinalize(this);
         }
 
+        /// <summary>
+        /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
+        /// </summary>
+        /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
         protected abstract void Dispose(bool disposing);
 
+        /// <summary>
+        /// Default implementation for the low memory event.
+        /// </summary>
+        /// <param name="infoHandle"></param>
+        /// <param name="data"></param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void OnLowMemoryNative(IntPtr infoHandle, IntPtr data)
         {
             LowMemoryStatus status = LowMemoryStatus.None;
@@ -92,6 +160,12 @@ namespace Tizen.Applications.CoreBackend
             }
         }
 
+        /// <summary>
+        /// Default implementation for the low battery event.
+        /// </summary>
+        /// <param name="infoHandle"></param>
+        /// <param name="data"></param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void OnLowBatteryNative(IntPtr infoHandle, IntPtr data)
         {
             LowBatteryStatus status = LowBatteryStatus.None;
@@ -107,6 +181,12 @@ namespace Tizen.Applications.CoreBackend
             }
         }
 
+        /// <summary>
+        /// Default implementation for the system language changed event.
+        /// </summary>
+        /// <param name="infoHandle"></param>
+        /// <param name="data"></param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void OnLocaleChangedNative(IntPtr infoHandle, IntPtr data)
         {
             string lang;
@@ -122,6 +202,12 @@ namespace Tizen.Applications.CoreBackend
             }
         }
 
+        /// <summary>
+        /// Default implementation for the region format changed event.
+        /// </summary>
+        /// <param name="infoHandle"></param>
+        /// <param name="data"></param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void OnRegionChangedNative(IntPtr infoHandle, IntPtr data)
         {
             string region;
@@ -137,6 +223,12 @@ namespace Tizen.Applications.CoreBackend
             }
         }
 
+        /// <summary>
+        /// Default implementation for the suspended state changed event.
+        /// </summary>
+        /// <param name="infoHandle"></param>
+        /// <param name="data"></param>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         protected virtual void OnDeviceOrientationChangedNative(IntPtr infoHandle, IntPtr data)
         {
             DeviceOrientation orientation;
index a0e1f88..e591205 100755 (executable)
@@ -421,7 +421,7 @@ namespace Tizen.Applications
         /// <exception cref="InvalidOperationException">Thrown when failed because of an invalid parameter.</exception>
         /// <example>
         /// <code>
-        /// IEnumerable<string> applicationIds = AppControl.GetMatchedApplicationIds(control);
+        /// IEnumerable&lt;string&gt; applicationIds = AppControl.GetMatchedApplicationIds(control);
         /// if (applicationIds != null)
         /// {
         ///     foreach (string id in applicationIds)
@@ -732,7 +732,7 @@ namespace Tizen.Applications
             /// <example>
             /// <code>
             /// AppControl appControl = new AppControl();
-            /// string myValue = appControl.ExtraData.Get<string>("myKey");
+            /// string myValue = appControl.ExtraData.Get&lt;string&gt;("myKey");
             /// </code>
             /// </example>
             public T Get<T>(string key)
@@ -779,7 +779,7 @@ namespace Tizen.Applications
             /// <example>
             /// <code>
             /// AppControl appControl = new AppControl();
-            /// IEnumerable<string> keys = appControl.GetKeys();
+            /// IEnumerable&lt;string&gt; keys = appControl.GetKeys();
             /// if (keys != null)
             /// {
             ///     foreach (string key in keys)
@@ -862,7 +862,7 @@ namespace Tizen.Applications
             /// <example>
             /// <code>
             /// AppControl appControl = new AppControl();
-            /// IEnumerable<string> myValue = null;
+            /// IEnumerable&lt;string&gt; myValue = null;
             /// bool result = appControl.ExtraData.TryGet("myKey", out myValue);
             /// if (result)
             /// {
index 0f790ab..7685607 100755 (executable)
@@ -158,7 +158,7 @@ namespace Tizen.Applications
         /// bundle.AddItem("string", "a_string");
         /// if (bundle.Contains("string"))
         /// {
-        ///     string aValue = bundle.GetItem<string>("string");
+        ///     string aValue = bundle.GetItem&lt;string&gt;("string");
         ///     Console.WriteLine(aValue);
         /// }
         /// </code>
@@ -305,7 +305,7 @@ namespace Tizen.Applications
         /// if (bundle.Contains("string"))
         /// {
         ///     object aValue = bundle.GetItem("string");
-        ///     if (bundle.Is<string>("string");)
+        ///     if (bundle.Is&lt;string&gt;("string");)
         ///     {
         ///         string aString = (string)aValue;
         ///         Console.WriteLine(aString);
@@ -373,15 +373,15 @@ namespace Tizen.Applications
         /// Tizen.Applications.Bundle bundle = new Tizen.Applications.Bundle();
         /// string[] stringArray = { "a", "b", "c" };
         /// bundle.AddItem("string_array", stringArray);
-        /// if (bundle.Is<string>("string_array"))
+        /// if (bundle.Is&lt;string&gt;("string_array"))
         /// {
         ///     Console.WriteLine("It is a string");
-        ///     Console.WriteLine(bundle.GetItem<string>("string_array"));
+        ///     Console.WriteLine(bundle.GetItem&lt;string&gt;("string_array"));
         /// }
-        /// else if (bundle.Is<string[]>("string_array"))
+        /// else if (bundle.Is&lt;string[]&gt;("string_array"))
         /// {
         ///     Console.WriteLine("It is a string[]");
-        ///     string[] anArray = bundle.GetItem<string[]>("string_array");
+        ///     string[] anArray = bundle.GetItem&lt;string[]&gt;("string_array");
         ///     foreach (string value in anArray)
         ///     {
         ///         Console.WriteLine(value);
@@ -473,7 +473,7 @@ namespace Tizen.Applications
         /// Tizen.Applications.Bundle bundle = new Tizen.Applications.Bundle();
         /// string[] stringArray = { "a", "b", "c" };
         /// bundle.AddItem("string_array", stringArray);
-        /// System.Collections.Generic.IEnumerable<string> aStringEnumerable;
+        /// System.Collections.Generic.IEnumerable&lt;string&gt; aStringEnumerable;
         /// if (bundle.TryGetItem("string", out aStringEnumerable))
         /// {
         ///     foreach (string value in aStringEnumerable)
@@ -512,10 +512,10 @@ namespace Tizen.Applications
         /// Tizen.Applications.Bundle bundle = new Tizen.Applications.Bundle();
         /// string[] stringArray = { "a", "b", "c" };
         /// bundle.AddItem("string_array", stringArray);
-        /// if (bundle.Is<string[]>("string_array"))
+        /// if (bundle.Is&lt;string[]&gt;("string_array"))
         /// {
         ///     Console.WriteLine("It is a string[]");
-        ///     string[] anArray = bundle.GetItem<string[]>("string_array");
+        ///     string[] anArray = bundle.GetItem&lt;string[]&gt;("string_array");
         ///     foreach (string value in anArray)
         ///     {
         ///         Console.WriteLine(value);
old mode 100755 (executable)
new mode 100644 (file)
index 227db5f..90c38e0
@@ -23,6 +23,9 @@ namespace Tizen.Applications
     /// </summary>
     public enum PackageType
     {
+        /// <summary>
+        /// Unknown package.
+        /// </summary>
         UNKNOWN,
         /// <summary>
         /// Tizen native application package.
index 742f132..41894a4 100755 (executable)
@@ -132,14 +132,14 @@ namespace Tizen.Applications
         /// <param name="key">The name of the key to check.</param>
         /// <returns>True if the key exists in the preference, otherwise false.</returns>
         /// <exception cref="ArgumentException">Thrown if the key is an invalid parameter.</exception>
-        /// <exception cref="IOException">Thrown when the method failed due to an internal I/O error.</exception>
+        /// <exception cref="System.IO.IOException">Thrown when the method failed due to an internal I/O error.</exception>
         /// <example>
         /// <code>
         ///     Preference.Set("active_user", "Joe");
         ///     bool exists = Preference.Contains("active_user");
         ///     if (exists)
         ///     {
-        ///         string value = Preference.Get<string>("active_user");
+        ///         string value = Preference.Get&lt;istring&gt;("active_user");
         ///         Console.WriteLine("user {0}", value);
         ///     }
         /// </code>
@@ -164,7 +164,7 @@ namespace Tizen.Applications
         /// If the key already exists in the preference, the old value will be overwritten with a new value.
         /// Data types for supported values are: integer, double, string, and bool.
         /// </remarks>
-        /// <param name="key">The name of the key to create/modify./param>
+        /// <param name="key">The name of the key to create/modify.</param>
         /// <param name="value">The value corresponding to the key.</param>
         /// <exception cref="ArgumentException">Thrown if the key is an invalid parameter.</exception>
         /// <exception cref="System.IO.IOException">Thrown when the method failed due to an internal I/O error.</exception>
@@ -237,7 +237,7 @@ namespace Tizen.Applications
         ///     bool exists = Preference.Contains("active_user");
         ///     if (exists)
         ///     {
-        ///         string value = Preference.Get<string>("active_user");
+        ///         string value = Preference.Get&lt;string&gt;("active_user");
         ///         Console.WriteLine("user {0}", value);
         ///     }
         /// </code>
index 8474364..72031a5 100644 (file)
@@ -354,7 +354,7 @@ namespace Tizen.Content.MediaContent
 
         private async Task ScanFolderAsyncCore(string folderPath, bool recursive, CancellationToken cancellationToken)
         {
-            var tcs = new TaskCompletionSource<bool>();
+            var tcs = new TaskCompletionSource<bool>(TaskContinuationOptions.RunContinuationsAsynchronously);
 
             using (var cbKeeper = ObjectKeeper.Get(GetScanCompletedCallback(tcs, cancellationToken)))
             using (RegisterCancellationAction(tcs, folderPath, cancellationToken))
index 7eb2be4..f0a5fb3 100644 (file)
@@ -602,7 +602,7 @@ namespace Tizen.Content.MediaContent
             ValidatePaths(paths);
 
             var pathArray = paths.ToArray();
-            var tcs = new TaskCompletionSource<bool>();
+            var tcs = new TaskCompletionSource<bool>(TaskContinuationOptions.RunContinuationsAsynchronously);
 
             Interop.MediaInfo.InsertCompletedCallback callback = (error, _) =>
             {
@@ -658,7 +658,7 @@ namespace Tizen.Content.MediaContent
 
             ValidatePaths(paths);
 
-            var tcs = new TaskCompletionSource<bool>();
+            var tcs = new TaskCompletionSource<bool>(TaskContinuationOptions.RunContinuationsAsynchronously);
             string[] pathArray = paths.ToArray();
 
             Interop.MediaInfo.InsertBurstShotCompletedCallback callback = (error, _) =>
old mode 100755 (executable)
new mode 100644 (file)
index 98aab3e..49dff2e
@@ -23,9 +23,11 @@ using System.Runtime.InteropServices;
 namespace Tizen.Content.MimeType
 {
     /// <summary>
-    /// The MimeUtil API provides functions to map the MIME types to file extensions and vice versa.</summary>
+    /// The MimeUtil API provides functions to map the MIME types to file extensions and vice versa.
+    /// </summary>
     /// <remarks>
-    /// Conversions are provided from the file extensions to MIME types and from the MIME types to file extensions.</remarks>
+    /// Conversions are provided from the file extensions to MIME types and from the MIME types to file extensions.
+    /// </remarks>
     public static class MimeUtil
     {
         /// <summary>
@@ -35,7 +37,7 @@ namespace Tizen.Content.MimeType
         /// <param name="fileExtension"> The file extension.</param>
         /// <example>
         /// <code>
-        /// string mimeType = MimeUtil.GetMimeType("png");
+        ///     string mimeType = MimeUtil.GetMimeType("png");
         /// </code>
         /// </example>
         public static string GetMimeType(string fileExtension)
@@ -50,18 +52,20 @@ namespace Tizen.Content.MimeType
         }
 
         /// <summary>
-        /// Gets the file extensions for the given MIME type.</summary>
+        /// Gets the file extensions for the given MIME type.
+        /// </summary>
         /// <returns>
         /// If successful, returns the list of file extension strings for the given MIME type.
-        /// The array of file extension is without the leading dot ('.').</returns>
+        /// The array of file extension is without the leading dot ('.').
+        /// </returns>
         /// <param name="mime"> The MIME type.</param>
         /// <example>
         /// <code>
-        /// IEnumerable<string> extColl = MimeUtil.GetFileExtension("video/mpeg");
-        /// foreach ( string obj in extColl )
-        /// {
-        ///     Console.WriteLine(obj);
-        /// }
+        ///     var extColl = MimeUtil.GetFileExtension("video/mpeg");
+        ///     foreach ( string obj in extColl )
+        ///     {
+        ///         Console.WriteLine(obj);
+        ///     }
         /// </code>
         /// </example>
         public static IEnumerable<string> GetFileExtension(string mime)
@@ -87,10 +91,10 @@ namespace Tizen.Content.MimeType
 
         internal enum MimeError : int
         {
-            None = Tizen.Internals.Errors.ErrorCode.None, /**< Successful */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter, /**< Invalid parameter */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory, /**< Out of memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError, /**< Internal I/O error */
+            None = Tizen.Internals.Errors.ErrorCode.None,
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,
         }
     }
 }
index a60be0e..4319406 100755 (executable)
@@ -62,6 +62,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 848dfae..8820acb 100755 (executable)
@@ -81,6 +81,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 32949be..2941cf9 100755 (executable)
@@ -357,6 +357,12 @@ namespace Tizen.Maps
 
         #region IDisposable Support
         private bool _disposedValue = false;
+
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 6aaaa86..f5ca28e 100755 (executable)
@@ -27,10 +27,10 @@ namespace Tizen.Maps
     /// <typeparam name="T"></typeparam>
     public abstract class MapServiceRequest<T> : IDisposable
     {
-        protected TaskCompletionSource<IEnumerable<T>> _requestTask;
-        protected string errMessage;
-        protected int? _requestID;
-        protected ServiceRequestType _type;
+        internal TaskCompletionSource<IEnumerable<T>> _requestTask;
+        internal string errMessage;
+        internal int? _requestID;
+        internal ServiceRequestType _type;
 
         internal Action startExecutionAction;
         internal Interop.ErrorCode errorCode;
@@ -91,6 +91,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 2b0219f..ddf5ba0 100755 (executable)
@@ -753,6 +753,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 45f6c11..c21da4f 100755 (executable)
@@ -165,6 +165,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index d84e8a0..37367e2 100755 (executable)
@@ -128,6 +128,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index d9a7dfb..7a79ba8 100755 (executable)
@@ -241,6 +241,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 28a1c2a..f066db4 100755 (executable)
@@ -215,6 +215,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 3013397..c398924 100755 (executable)
@@ -85,6 +85,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 591bd16..09bd7d8 100755 (executable)
@@ -112,6 +112,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index d0d97b5..33f180f 100755 (executable)
@@ -127,6 +127,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 7542480..cba9f31 100755 (executable)
@@ -144,6 +144,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 618872b..b04b2e0 100755 (executable)
@@ -159,6 +159,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index 3ab84d4..06b25f7 100755 (executable)
@@ -231,6 +231,11 @@ namespace Tizen.Maps
         #region IDisposable Support
         private bool _disposedValue = false;
 
+        /// <summary>
+        /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.</param>
         protected virtual void Dispose(bool disposing)
         {
             if (!_disposedValue)
index e4b9d9f..50bb943 100644 (file)
@@ -157,12 +157,19 @@ namespace Tizen.Messaging.Email
             }
         }
 
+        /// <summary>
+        /// Releases all resources used by the EmailMessage.
+        /// </summary>
         public void Dispose()
         {
             Dispose(true);
             GC.SuppressFinalize(this);
         }
 
+        /// <summary>
+        /// Releases all resources used by the EmailMessage.
+        /// </summary>
+        /// <param name="disposing">Disposing by User</param>
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
old mode 100755 (executable)
new mode 100644 (file)
index 8afebcb..3a072c5
  */
 
 
-/// <summary>
-/// The <b>Tizen.Messaging.Email</b> namespace contains classes providing the functionality to send emails.
-/// </summary>
-/// <remarks>
-/// The <b>Tizen.Messaging.Email</b> namespace contains classes providing the functionality to send emails.
-/// </remarks>
 namespace Tizen.Messaging.Email
 {
+    /// <summary>
+    /// The <b>Tizen.Messaging.Email</b> namespace contains classes providing the functionality to send emails.
+    /// </summary>
+    /// <remarks>
+    /// The <b>Tizen.Messaging.Email</b> namespace contains classes providing the functionality to send emails.
+    /// </remarks>
 }
old mode 100755 (executable)
new mode 100644 (file)
index 38f0f5e..7bd72ab
@@ -59,11 +59,17 @@ namespace Tizen.Messaging.Messages
             (this as MmsMessage)?.SetAttachments();
         }
 
+        /// <summary>
+        /// Destructor
+        /// </summary>
         ~Message()
         {
             Dispose(false);
         }
 
+        /// <summary>
+        /// Releases all resources used by the Message.
+        /// </summary>
         public void Dispose()
         {
             Dispose(true);
old mode 100755 (executable)
new mode 100644 (file)
index 79377ed..b540106
  * limitations under the License.
  */
 
-/// <summary>
-/// The <b>Tizen.Messaging.Messages</b> namespace contains classes providing the functionality to send, receive, and search messages.
-/// </summary>
-/// <remarks>
-/// The <b>Tizen.Messaging.Messages</b> namespace contains classes providing the functionality to send, receive, and search messages.
-/// </remarks>
 namespace Tizen.Messaging.Messages
 {
-}
+    /// <summary>
+    /// The <b>Tizen.Messaging.Messages</b> namespace contains classes providing the functionality to send, receive, and search messages.
+    /// </summary>
+    /// <remarks>
+    /// The <b>Tizen.Messaging.Messages</b> namespace contains classes providing the functionality to send, receive, and search messages.
+    /// </remarks>
+}
\ No newline at end of file
index 3052502..9421c3b 100644 (file)
@@ -1,7 +1,5 @@
-/**
-<summary>
-The Tizen.Network.WiFiDirect namespace provides classes to manage the settings of Wi-Fi Direct.
-In addition, this namespace provides classes to connect and disconnect remote devices using Wi-Fi Direct.
-</summary>
-*/
+/// <summary>
+/// The Tizen.Network.WiFiDirect namespace provides classes to manage the settings of Wi-Fi Direct.
+/// In addition, this namespace provides classes to connect and disconnect remote devices using Wi-Fi Direct.
+/// </summary>
 namespace Tizen.Network.WiFiDirect {}
index 6960e7f..e5845ac 100644 (file)
@@ -1,8 +1,26 @@
-/// <summary>
-/// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
-/// </summary>
-/// <remarks>
-/// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
-/// </remarks>
-/// <since_tizen> 4 </since_tizen>
-namespace Tizen.PhonenumberUtils {}
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+namespace Tizen.PhonenumberUtils
+{
+    /// <summary>
+    /// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
+    /// </summary>
+    /// <remarks>
+    /// The Tizen.PhonenumberUtils namespace provides a class for parsing, formatting and normalizing phone numbers.
+    /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
+}
index 9368f8c..5530d80 100644 (file)
@@ -45,6 +45,10 @@ namespace Tizen.PhonenumberUtils
             }
         }
 
+        /// <summary>
+        /// Destructor
+        /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~PhonenumberUtils()
         {
             Dispose(false);
index 3bd2ca9..4bf80f1 100644 (file)
@@ -37,7 +37,7 @@ namespace Tizen.Pims.Calendar
 
         internal CalendarDatabase()
         {
-            ///To be created in CalendarManager only
+            /*To be created in CalendarManager only*/
         }
 
         /// <summary>
index 9e97d31..69f2d7a 100644 (file)
@@ -20,20 +20,20 @@ namespace Tizen.Pims.Calendar
 {
     internal enum CalendarError
     {
-        None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-        OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory (-12) */
-        InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter (-22) */
-        FileNoSpace = Tizen.Internals.Errors.ErrorCode.FileNoSpaceOnDevice,     /** <FS Full (-28) */
-        PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied (-13) */
-        NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< Not supported (-1073741822) */
-        NoData = Tizen.Internals.Errors.ErrorCode.NoData,                       /**< Requested data does not exist (-61) */
-        DBLocked = Globals.ErrorCalendar | 0x81,                                /**< Database table locked or file locked (-33619839) */
-        ErrorDB = Globals.ErrorCalendar | 0x9F,                                 /**< Unknown DB error (-33619809) */
-        IPCNotAvailable = Globals.ErrorCalendar | 0xB1,                         /**< IPC server is not available (-33619791) */
-        ErrorIPC = Globals.ErrorCalendar | 0xBF,                                /**< Unknown IPC error (-33619777) */
-        ErrorSystem = Globals.ErrorCalendar | 0xEF,                             /**< Internal system module error (-33619729) */
-        ErrorInternal = Globals.ErrorCalendar | 0x04,                           /**< Implementation Error Temporary Use (-33619713) */
-        DBNotFound = Globals.ErrorCalendar | 0x05,                              /**< No data in DB (-33554427) */
+        None = Tizen.Internals.Errors.ErrorCode.None,
+        OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,
+        InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,
+        FileNoSpace = Tizen.Internals.Errors.ErrorCode.FileNoSpaceOnDevice,
+        PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,
+        NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,
+        NoData = Tizen.Internals.Errors.ErrorCode.NoData,
+        DBLocked = Globals.ErrorCalendar | 0x81,
+        ErrorDB = Globals.ErrorCalendar | 0x9F,
+        IPCNotAvailable = Globals.ErrorCalendar | 0xB1,
+        ErrorIPC = Globals.ErrorCalendar | 0xBF,
+        ErrorSystem = Globals.ErrorCalendar | 0xEF,
+        ErrorInternal = Globals.ErrorCalendar | 0x04,
+        DBNotFound = Globals.ErrorCalendar | 0x05,
     };
 
     internal static class Globals
index 4430b45..ce1015a 100644 (file)
@@ -32,6 +32,13 @@ namespace Tizen.Pims.Calendar
         {
             _listHandle = handle;
 
+            int error = Interop.List.First(_listHandle);
+            if (CalendarError.None != (CalendarError)error)
+            {
+                Log.Error(Globals.LogTag, "MoveFirst Failed with error " + error);
+                throw CalendarErrorFactory.GetException(error);
+            }
+
             _memoryPressure += this.Count * CalendarViews.Record.AverageSize;
             GC.AddMemoryPressure(_memoryPressure);
         }
index 980903c..050e7a8 100644 (file)
@@ -109,6 +109,11 @@ namespace Tizen.Pims.Calendar
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         public void SetProjection(uint[] propertyIdArray)
         {
+            if (propertyIdArray == null)
+            {
+                throw new ArgumentException("Invalid Parameters Provided");
+            }
+
             int error = Interop.Query.SetProjection(_queryHandle, propertyIdArray, propertyIdArray.Length);
             if (CalendarError.None != (CalendarError)error)
             {
index 486c816..9eb3c1e 100644 (file)
@@ -93,7 +93,6 @@ namespace Tizen.Pims.Calendar
                 s_reminderAlerted -= value;
                 if (s_reminderAlerted == null)
                 {
-                    /// _reminderAlertedCallback is removed by .Net Core
                     int error = Interop.Reminder.Remove(_reminderAlertedCallback, IntPtr.Zero);
                     if (CalendarError.None != (CalendarError)error)
                     {
index 6469e75..f9ac9b9 100644 (file)
@@ -18,18 +18,19 @@ using System.Diagnostics.CodeAnalysis;
 
 namespace Tizen.Pims.Calendar
 {
-    /// <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.
-    /// A "record" represents a single row of the views.
-    /// A record can have basic properties of five types: integer, string, long, double, CalendarTime.
-    /// </remarks>
     namespace CalendarViews
     {
+        /// <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.
+        /// A "record" represents a single row of the views.
+        /// A record can have basic properties of five types: integer, string, long, double, CalendarTime.
+        /// </remarks>
+
         internal static class Property
         {
             /// data type mask 0x0FF00000
index 4ca1aac..1e072ca 100644 (file)
  * limitations under the License.
  */
 
-/// <summary>
-/// The Tizen.Pims.Calendar namespace provides classes for managing calendar information for schedule.
-/// </summary>
-/// <remarks>
-/// The Tizen.Pims.Calendar namespace provides classes for managing calendar information for schedule.
-/// </remarks>
-/// <since_tizen> 4 </since_tizen>
-namespace Tizen.Pims.Calendar {}
+namespace Tizen.Pims.Calendar
+{
+    /// <summary>
+    /// The Tizen.Pims.Calendar namespace provides classes for managing calendar information for schedule.
+    /// </summary>
+    /// <remarks>
+    /// The Tizen.Pims.Calendar namespace provides classes for managing calendar information for schedule.
+    /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
+}
 
index b3fd512..97dc02c 100644 (file)
@@ -20,18 +20,19 @@ using System.Diagnostics.CodeAnalysis;
 
 namespace Tizen.Pims.Contacts
 {
-    /// <summary>
-    /// This namespace provides information about views with properties.
-    /// </summary>
-    /// <remarks>
-    ///  Views are provided to access and handle entities. A view is a structure, which has property elements.
-    ///  A view is almost the same as a database "VIEW", which limits access and guarantees performance.
-    ///  A "record" represents a single row of the views.
-    ///  A record can have basic properties of five types: integer, string, boolean, long, double.
-    /// </remarks>
-    /// <since_tizen> 4 </since_tizen>
     namespace ContactsViews
     {
+        /// <summary>
+        /// This namespace provides information about views with properties.
+        /// </summary>
+        /// <remarks>
+        ///  Views are provided to access and handle entities. A view is a structure, which has property elements.
+        ///  A view is almost the same as a database "VIEW", which limits access and guarantees performance.
+        ///  A "record" represents a single row of the views.
+        ///  A record can have basic properties of five types: integer, string, boolean, long, double.
+        /// </remarks>
+        /// <since_tizen> 4 </since_tizen>
+
         internal static class Property
         {
             private const uint AddressBook = 0x00100000;
index 91a3ded..66a19b7 100644 (file)
  * limitations under the License.
  */
 
-/// <summary>
-/// The Tizen.Pims.Contacts namespace provides classes for managing contact information for people.
-/// </summary>
-/// <remarks>
-/// The Tizen.Pims.Contacts namespace provides classes for managing contact information for people.
-/// </remarks>
-/// <since_tizen> 4 </since_tizen>
-namespace Tizen.Pims.Contacts {}
+namespace Tizen.Pims.Contacts
+{
+    /// <summary>
+    /// The Tizen.Pims.Contacts namespace provides classes for managing contact information for people.
+    /// </summary>
+    /// <remarks>
+    /// The Tizen.Pims.Contacts namespace provides classes for managing contact information for people.
+    /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
+}
\ No newline at end of file
index 5c7d227..1ec40cf 100755 (executable)
@@ -35,13 +35,13 @@ internal static partial class Interop
 
         internal enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NoCallbackFunction = ErrorInputMethod | 0x0001,                         /**< Necessary callback function is not set */
-            NotRunning = ErrorInputMethod | 0x0002,                                 /**< IME main loop isn't started yet */
-            OperationFailed = ErrorInputMethod | 0x0010,                            /**< Operation failed  */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory              /**< out of memory */
+            None = Tizen.Internals.Errors.ErrorCode.None,
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,
+            NoCallbackFunction = ErrorInputMethod | 0x0001,
+            NotRunning = ErrorInputMethod | 0x0002,
+            OperationFailed = ErrorInputMethod | 0x0010,
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory
         };
 
         [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
index 82153a7..5599186 100755 (executable)
@@ -34,11 +34,17 @@ namespace Tizen.Uix.InputMethod
             _realHandle = _handle;
         }
 
+        /// <summary>
+        /// This API creates handle for editor window.
+        /// </summary>
         protected override IntPtr CreateHandle(EvasObject parent)
         {
             return _handle;
         }
 
+        /// <summary>
+        /// This API gets handle for editor window.
+        /// </summary>
         public IntPtr GetHandle()
         {
             return _handle;
index 532f3a4..3aef83b 100755 (executable)
@@ -24,7 +24,7 @@ namespace Tizen.Uix.InputMethod
 {
     /// <summary>
     /// Enumeration of the key codes.
-    /// If keycode & 0xff000000 == 0x01000000 then this key code is directly encoded 24-bit UCS character.The UCS value is keycode & 0x00ffffff.
+    /// If keycode &amp; 0xff000000 == 0x01000000 then this key code is directly encoded 24-bit UCS character.The UCS value is keycode &amp; 0x00ffffff.
     /// Defines the list of keys supported by the system.Note that certain keys may not be available on all devices.
     /// </summary>
     public enum KeyCode
@@ -1034,6 +1034,9 @@ namespace Tizen.Uix.InputMethod
                 private set;
             }
 
+            /// <summary>
+            /// compare whether ContextId are equal
+            /// </summary>
             public bool Equals(ContextId other)
             {
                 return this.Id == other.Id;
index d9a4347..fe9598f 100755 (executable)
@@ -34,10 +34,10 @@ internal static partial class Interop
 
         internal enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            OperationFailed = ErrorInputMethodManager | 0x0010,                     /**< Operation failed  */
+            None = Tizen.Internals.Errors.ErrorCode.None,
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,
+            OperationFailed = ErrorInputMethodManager | 0x0010,
         };
 
         [DllImport(Libraries.InputMethodManager, EntryPoint = "ime_manager_show_ime_list")]
index f29291c..b2df927 100755 (executable)
@@ -34,26 +34,26 @@ internal static partial class Interop
 
         internal enum SttError
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /**< No answer from the STT service */
-            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /**< Device or resource busy */
-            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /**< Network is down */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< STT NOT supported */
-            InvalidState = ErrorStt | 0x01,                                         /**< Invalid state */
-            InvalidLanguage = ErrorStt | 0x02,                                      /**< Invalid language */
-            EngineNotFound = ErrorStt | 0x03,                                       /**< No available engine  */
-            OperationFailed = ErrorStt | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorStt | 0x05,                                  /**< Not supported feature of current engine */
-            RecordingTimedOut = ErrorStt | 0x06,                                    /**< Recording timed out */
-            NoSpeech = ErrorStt | 0x07,                                             /**< No speech while recording*/
-            InProgressToReady = ErrorStt | 0x08,                                    /**< Progress to ready is not finished*/
-            InProgressToRecording = ErrorStt | 0x09,                                /**< Progress to recording is not finished*/
-            InProgressToProcessing = ErrorStt | 0x10,                               /**< Progress to processing is not finished*/
-            ServiceReset = ErrorStt | 0x11                                          /**< Service reset*/
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from the STT service */
+            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /* Device or resource busy */
+            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /* Network is down */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* STT NOT supported */
+            InvalidState = ErrorStt | 0x01,                                         /* Invalid state */
+            InvalidLanguage = ErrorStt | 0x02,                                      /* Invalid language */
+            EngineNotFound = ErrorStt | 0x03,                                       /* No available engine  */
+            OperationFailed = ErrorStt | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorStt | 0x05,                                  /* Not supported feature of current engine */
+            RecordingTimedOut = ErrorStt | 0x06,                                    /* Recording timed out */
+            NoSpeech = ErrorStt | 0x07,                                             /* No speech while recording */
+            InProgressToReady = ErrorStt | 0x08,                                    /* Progress to ready is not finished */
+            InProgressToRecording = ErrorStt | 0x09,                                /* Progress to recording is not finished */
+            InProgressToProcessing = ErrorStt | 0x10,                               /* Progress to processing is not finished */
+            ServiceReset = ErrorStt | 0x11                                          /* Service reset */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
old mode 100644 (file)
new mode 100755 (executable)
index 1860270..5f33ed1
@@ -1492,13 +1492,21 @@ namespace Tizen.Uix.Stt
         }
 
         /// <summary>
-        /// A method to release resources.
+        /// Method to release resources.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
         }
 
+        /// <summary>
+        /// Method to release resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">
+        /// The boolean value for destoying stt handle.
+        /// </param>
         protected virtual void Dispose(bool disposing)
         {
             if (!disposedValue)
index dc07ccf..902d487 100755 (executable)
@@ -36,18 +36,18 @@ internal static partial class Interop
 
         public enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /**< Network down(Out of network) */
-            InvalidState = ErrorStt | 0x01,                                         /**< Invalid state */
-            InvalidLanguage = ErrorStt | 0x02,                                      /**< Invalid language */
-            OperationFailed = ErrorStt | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorStt | 0x05,                                  /**< Not supported feature of current engine */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< Device or resource busy */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            RecordingTimedOut = ErrorStt | 0x06,                                    /**< Recording timed out */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /* Network down(Out of network) */
+            InvalidState = ErrorStt | 0x01,                                         /* Invalid state */
+            InvalidLanguage = ErrorStt | 0x02,                                      /* Invalid language */
+            OperationFailed = ErrorStt | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorStt | 0x05,                                  /* Not supported feature of current engine */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* Device or resource busy */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            RecordingTimedOut = ErrorStt | 0x06,                                    /* Recording timed out */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index 32b49ba..21a3a67 100755 (executable)
@@ -35,21 +35,21 @@ internal static partial class Interop
 
         internal enum TtsError
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /**< Network is down */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /**< No answer from the STT service */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< STT NOT supported */
-            InvalidState = ErrorTts | 0x01,                                         /**< Invalid state */
-            InvalidVoice = ErrorTts | 0x02,                                         /**< Invalid language */
-            EngineNotFound = ErrorTts | 0x03,                                       /**< No available engine  */
-            OperationFailed = ErrorTts | 0x04,                                      /**< Operation failed  */
-            AudioPolicyBlocked = ErrorTts | 0x05,                                   /**< Audio policy blocked */
-            NotSupportedFeature = ErrorTts | 0x06,                                  /**< Not supported feature of current engine*/
-            ServiceReset = ErrorTts | 0x07                                          /**< Service reset*/
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            OutOfNetwork = Tizen.Internals.Errors.ErrorCode.Networkdown,            /* Network is down */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from the STT service */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* STT NOT supported */
+            InvalidState = ErrorTts | 0x01,                                         /* Invalid state */
+            InvalidVoice = ErrorTts | 0x02,                                         /* Invalid language */
+            EngineNotFound = ErrorTts | 0x03,                                       /* No available engine  */
+            OperationFailed = ErrorTts | 0x04,                                      /* Operation failed  */
+            AudioPolicyBlocked = ErrorTts | 0x05,                                   /* Audio policy blocked */
+            NotSupportedFeature = ErrorTts | 0x06,                                  /* Not supported feature of current engine*/
+            ServiceReset = ErrorTts | 0x07                                          /* Service reset*/
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index e99108b..eff992e 100755 (executable)
@@ -63,6 +63,10 @@ namespace Tizen.Uix.Tts
             internal set;
         }
 
+        /// <summary>
+        /// A voice type (e.g. #TTS_VOICE_TYPE_MALE, #TTS_VOICE_TYPE_FEMALE).
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         public Voice VoiceType
         {
             get;
index f8af3a1..1d95595 100755 (executable)
@@ -1049,6 +1049,13 @@ namespace Tizen.Uix.Tts
             Dispose(true);
         }
 
+        /// <summary>
+        /// Method to release resources.
+        /// </summary>
+        /// <since_tizen> 3 </since_tizen>
+        /// <param name="disposing">
+        /// The boolean value for destoying tts handle.
+        /// </param>
         protected virtual void Dispose(bool disposing)
         {
             if (!disposedValue)
index 0a2a962..df37090 100755 (executable)
@@ -36,17 +36,17 @@ internal static partial class Interop
 
         public enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,                           /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /**< Network down(Out of network) */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            InvalidState = ErrorTts | 0x01,                                         /**< Invalid state */
-            InvalidVoice = ErrorTts | 0x02,                                         /**< Invalid voice */
-            OperationFailed = ErrorTts | 0x04,                                      /**< Operation failed  */
-            NotSupportedFeature = ErrorTts | 0x06,                                  /**< Not supported feature of current engine */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /**< Device or resource busy */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            NetworkDown = Tizen.Internals.Errors.ErrorCode.Networkdown,             /* Network down(Out of network) */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            InvalidState = ErrorTts | 0x01,                                         /* Invalid state */
+            InvalidVoice = ErrorTts | 0x02,                                         /* Invalid voice */
+            OperationFailed = ErrorTts | 0x04,                                      /* Operation failed  */
+            NotSupportedFeature = ErrorTts | 0x06,                                  /* Not supported feature of current engine */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* Device or resource busy */
         };
 
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
index f6d386e..e675aee 100755 (executable)
@@ -36,25 +36,25 @@ internal static partial class Interop
 
         internal enum ErrorCode
         {
-            None = Tizen.Internals.Errors.ErrorCode.None,            /**< Successful */
-            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,        /**< Out of Memory */
-            IoError = Tizen.Internals.Errors.ErrorCode.IoError,         /**< I/O error */
-            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /**< Invalid parameter */
-            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,       /**< No answer from service */
-            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,       /**< Busy recorder */
-            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /**< Permission denied */
-            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,       /**< VC NOT supported */
-            InvalidState = ErrorVoiceControl | 0x011,   /**< Invalid state */
-            InvalidLanguage = ErrorVoiceControl | 0x012,    /**< Invalid language */
-            EngineNotFound = ErrorVoiceControl | 0x013, /**< No available engine */
-            OperationFailed = ErrorVoiceControl | 0x014,    /**< Operation failed */
-            OperationRejected = ErrorVoiceControl | 0x015,  /**< Operation rejected */
-            IterationEnd = ErrorVoiceControl | 0x016,   /**< List reached end */
-            Empty = ErrorVoiceControl | 0x017,  /**< List empty */
-            ServiceReset = ErrorVoiceControl | 0x018,   /**< Service daemon reset (Since 3.0) */
-            InProgressToReady = ErrorVoiceControl | 0x019,  /**< In progress to ready (Since 3.0) */
-            InProgressToRecording = ErrorVoiceControl | 0x020,  /**< In progress to recording (Since 3.0) */
-            InProgressToProcessing = ErrorVoiceControl | 0x021 /**< In progress to processing (Since 3.0) */
+            None = Tizen.Internals.Errors.ErrorCode.None,                           /* Successful */
+            OutOfMemory = Tizen.Internals.Errors.ErrorCode.OutOfMemory,             /* Out of Memory */
+            IoError = Tizen.Internals.Errors.ErrorCode.IoError,                     /* I/O error */
+            InvalidParameter = Tizen.Internals.Errors.ErrorCode.InvalidParameter,   /* Invalid parameter */
+            TimedOut = Tizen.Internals.Errors.ErrorCode.TimedOut,                   /* No answer from service */
+            RecorderBusy = Tizen.Internals.Errors.ErrorCode.ResourceBusy,           /* Busy recorder */
+            PermissionDenied = Tizen.Internals.Errors.ErrorCode.PermissionDenied,   /* Permission denied */
+            NotSupported = Tizen.Internals.Errors.ErrorCode.NotSupported,           /* VC NOT supported */
+            InvalidState = ErrorVoiceControl | 0x011,                               /* Invalid state */
+            InvalidLanguage = ErrorVoiceControl | 0x012,                            /* Invalid language */
+            EngineNotFound = ErrorVoiceControl | 0x013,                             /* No available engine */
+            OperationFailed = ErrorVoiceControl | 0x014,                            /* Operation failed */
+            OperationRejected = ErrorVoiceControl | 0x015,                          /* Operation rejected */
+            IterationEnd = ErrorVoiceControl | 0x016,                               /* List reached end */
+            Empty = ErrorVoiceControl | 0x017,                                      /* List empty */
+            ServiceReset = ErrorVoiceControl | 0x018,                               /* Service daemon reset */
+            InProgressToReady = ErrorVoiceControl | 0x019,                          /* In progress to ready */
+            InProgressToRecording = ErrorVoiceControl | 0x020,                      /* In progress to recording */
+            InProgressToProcessing = ErrorVoiceControl | 0x021                      /* In progress to processing */
         };
 
         internal enum VoiceCommandType