From 40b17efec572a3e7971b9f185f89d0ec4f0aa7ca Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Mon, 15 May 2017 13:58:01 +0900 Subject: [PATCH] Change properties' names Change-Id: I51490e3c334a653821113b6252916e4b1770dfa2 Signed-off-by: sooyeon.kim --- .../Tizen.Uix.VoiceControl/VoiceCommand.cs | 4 ++-- .../Tizen.Uix.VoiceControl/VoiceCommandList.cs | 4 ++-- .../Tizen.Uix.VoiceControl/VoiceControlClient.cs | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs index b27b785..f433457 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs @@ -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 /// - 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 ""; } diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs index 535c897..4d6af2f 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs @@ -77,7 +77,7 @@ namespace Tizen.Uix.VoiceControl /// /// public /// - public int GetCount + public int Count { get { @@ -106,7 +106,7 @@ namespace Tizen.Uix.VoiceControl /// /// public /// - public VoiceCommand GetCurrent + public VoiceCommand Current { get { diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs index 85f6b36..b395f47 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs @@ -237,20 +237,20 @@ namespace Tizen.Uix.VoiceControl /// /// The State must be Initialized or Ready. /// - 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 /// /// The State must be Initialized or Ready. /// - 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 /// /// The State must be Ready. /// - 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; } -- 2.7.4