Add API level
[platform/core/csapi/uix-voice-control.git] / Tizen.Uix.VoiceControl / Tizen.Uix.VoiceControl / VoiceCommandList.cs
index 4d6af2f..f3b962f 100755 (executable)
@@ -24,6 +24,7 @@ namespace Tizen.Uix.VoiceControl
     /// <summary>
     /// this class represents list of Voice Commands
     /// </summary>
+    /// <since_tizen> 3 </since_tizen>
     public class VoiceCommandList
     {
         internal SafeCommandListHandle _handle;
@@ -33,6 +34,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Public Constructor
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -49,7 +51,7 @@ namespace Tizen.Uix.VoiceControl
         /// <exception cref="NotSupportedException"> This Exception can be due to Not Supported. </exception>
         public VoiceCommandList()
         {
-            SafeCommandListHandle handle = new SafeCommandListHandle();
+            SafeCommandListHandle handle;
             ErrorCode error = VcCmdListCreate(out handle);
             if (error != ErrorCode.None)
             {
@@ -68,6 +70,7 @@ namespace Tizen.Uix.VoiceControl
         /// Gets command count of list.
         /// -1 is returned in case of internal failure.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <value>
         /// Command counts of the list.
         /// </value>
@@ -97,6 +100,7 @@ namespace Tizen.Uix.VoiceControl
         /// Get current command from command list by index.
         /// null will be returned in case of Empty List
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <value>
         /// Current command from the command list.
         /// </value>
@@ -125,6 +129,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Adds command to command list.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -136,7 +141,6 @@ namespace Tizen.Uix.VoiceControl
         /// http://tizen.org/feature/microphone
         /// </feature>
         /// <param name="command">The command</param>
-        /// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </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>
         /// <exception cref="NullReferenceException"> This will occur if the provide parameter is null. </exception>
@@ -153,6 +157,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Removes command from command list.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -164,7 +169,6 @@ namespace Tizen.Uix.VoiceControl
         /// http://tizen.org/feature/microphone
         /// </feature>
         /// <param name="command">The command</param>
-        /// <exception cref="ArgumentException"> This Exception can be due to Invalid Parameter. </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>
         /// <exception cref="NullReferenceException"> This will occur if the provide parameter is null. </exception>
@@ -181,6 +185,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Retrieves all commands of command list.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -216,6 +221,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Moves index to first command.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -242,6 +248,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Moves index to last command.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -268,6 +275,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Moves index to next command.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
@@ -298,6 +306,7 @@ namespace Tizen.Uix.VoiceControl
         /// <summary>
         /// Moves index to previous command.
         /// </summary>
+        /// <since_tizen> 3 </since_tizen>
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>