Change properties' names
authorsooyeon.kim <sooyeon.kim@samsung.com>
Mon, 15 May 2017 04:58:01 +0000 (13:58 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Mon, 15 May 2017 04:58:01 +0000 (13:58 +0900)
Change-Id: I51490e3c334a653821113b6252916e4b1770dfa2
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs
src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs
src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs

index b27b785..f433457 100755 (executable)
@@ -86,7 +86,7 @@ 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
+        public string UnfixedCommand
         {
             get
             {
@@ -94,7 +94,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 "";
                 }
 
index 535c897..4d6af2f 100755 (executable)
@@ -77,7 +77,7 @@ namespace Tizen.Uix.VoiceControl
         /// <privlevel>
         /// public
         /// </privlevel>
-        public int GetCount
+        public int Count
         {
             get
             {
@@ -106,7 +106,7 @@ namespace Tizen.Uix.VoiceControl
         /// <privlevel>
         /// public
         /// </privlevel>
-        public VoiceCommand GetCurrent
+        public VoiceCommand Current
         {
             get
             {
index 85f6b36..b395f47 100755 (executable)
@@ -237,20 +237,20 @@ namespace Tizen.Uix.VoiceControl
         /// <precondition>
         /// The State must be Initialized or Ready.
         /// </precondition>
-        public static string GetCurrentLanaguge
+        public static string CurrentLanguage
         {
             get
             {
-                string currentLanaguge;
+                string currentLanguage;
 
-                ErrorCode error = VcGetCurrentLanguage(out currentLanaguge);
+                ErrorCode error = VcGetCurrentLanguage(out currentLanguage);
                 if (error != ErrorCode.None)
                 {
-                    Log.Error(LogTag, "CurrentLanaguge Failed with error " + error);
+                    Log.Error(LogTag, "CurrentLanguage Failed with error " + error);
                     return "";
                 }
 
-                return currentLanaguge;
+                return currentLanguage;
             }
         }
 
@@ -266,7 +266,7 @@ namespace Tizen.Uix.VoiceControl
         /// <precondition>
         /// The State must be Initialized or Ready.
         /// </precondition>
-        public static State GetState
+        public static State State
         {
             get
             {
@@ -275,7 +275,7 @@ namespace Tizen.Uix.VoiceControl
                 ErrorCode error = VcGetState(out state);
                 if (error != ErrorCode.None)
                 {
-                    Log.Error(LogTag, "GetState Failed with error " + error);
+                    Log.Error(LogTag, "State Failed with error " + error);
                     return State.Unavailable;
                 }
 
@@ -295,7 +295,7 @@ namespace Tizen.Uix.VoiceControl
         /// <precondition>
         /// The State must be Ready.
         /// </precondition>
-        public static ServiceState GetServiceState
+        public static ServiceState ServiceState
         {
             get
             {
@@ -304,7 +304,7 @@ namespace Tizen.Uix.VoiceControl
                 ErrorCode error = VcGetServiceState(out state);
                 if (error != ErrorCode.None)
                 {
-                    Log.Error(LogTag, "GetServiceState Failed with error " + error);
+                    Log.Error(LogTag, "ServiceState Failed with error " + error);
                     return ServiceState.Unavailable;
                 }