Add API level
[platform/core/csapi/uix-voice-control.git] / Tizen.Uix.VoiceControl / Tizen.Uix.VoiceControl / VoiceCommand.cs
index d750ee6..b6be557 100755 (executable)
@@ -23,6 +23,7 @@ namespace Tizen.Uix.VoiceControl
     /// <summary>
     /// Enumeration for Command Format
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public enum CommandFormat
     {
         /// <summary>
@@ -54,6 +55,7 @@ namespace Tizen.Uix.VoiceControl
     /// <summary>
     /// This class represents a Voice Command
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class VoiceCommand
     {
         internal SafeCommandHandle _handle;
@@ -61,12 +63,11 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Public Constructor
         /// </summary>
-        /// <exception cref="InvalidOperationException">
-        /// This Exception can be due to the following reaons
-        /// 1. Out of memory
-        /// 2. Permission Denied
-        /// 3. Invalid State
-        /// </exception>
+        /// <since_tizen> 3 </since_tizen>
+        /// <exception cref="InvalidOperationException"> This Exception can be due to Invalid State. </exception>
+        /// <exception cref="OutOfMemoryException"> This Exception can be due to Out Of Memory. </exception>
+        /// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
+        /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public VoiceCommand()
         {
             SafeCommandHandle handle;
@@ -89,7 +90,8 @@ namespace Tizen.Uix.VoiceControl
         /// This property should be used for commands which have non-fixed format.
         /// empty string will be returned in case of some internal error
         /// </summary>
-        public string GetUnfixedCommand
+        /// <since_tizen> 3 </since_tizen>
+        public string UnfixedCommand
         {
             get
             {
@@ -97,7 +99,7 @@ namespace Tizen.Uix.VoiceControl
                 ErrorCode error = VcCmdGetUnfixedCommand(_handle, out unfixedCommand);
                 if (error != ErrorCode.None)
                 {
-                    Log.Error(LogTag, "GetUnfixedCommand Failed with error " + error);
+                    Log.Error(LogTag, "UnfixedCommand Failed with error " + error);
                     return "";
                 }
 
@@ -108,13 +110,10 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Gets/Sets command type.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>If you do not set the command type, the default value is Undefined. You should set type if command is valid</remarks>
-        /// <exception cref="InvalidOperationException">
-        /// This Exception can be due to the following reaons for set operation
-        /// 1. Invalid parameter
-        /// 2. Permission Denied
-        /// 3. Not supported
-        /// </exception>
+        /// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
+        /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public CommandType Type
         {
             get
@@ -148,13 +147,10 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Gets/Sets the command format.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <remarks>The default format is Fixed</remarks>
-        /// <exception cref="InvalidOperationException">
-        /// This Exception can be due to the following reaons for set operation
-        /// 1. Invalid parameter
-        /// 2. Permission Denied
-        /// 3. Not supported
-        /// </exception>
+        /// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
+        /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public CommandFormat Format
         {
             get
@@ -183,12 +179,9 @@ namespace Tizen.Uix.VoiceControl
         /// Gets/Sets command
         /// in case of get empty string will be returned in case of some internal error
         /// </summary>
-        /// <exception cref="InvalidOperationException">
-        /// This Exception can be due to the following reaons for set operation
-        /// 1. Invalid parameter
-        /// 2. Permission Denied
-        /// 3. Not supported
-        /// </exception>
+        /// <since_tizen> 3 </since_tizen>
+        /// <exception cref="UnauthorizedAccessException"> This Exception can be due to Permission Denied. </exception>
+        /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public string Command
         {
             get