From ad8696b45e1186b9919d2af0bc6ce5a33922aa5c Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Thu, 17 Aug 2017 17:11:45 +0900 Subject: [PATCH] Update uix-stt and uix-voice-control Change-Id: Ib2d4fe3d0df1c4e6fc7f76ead9e39f1290b58946 Signed-off-by: sooyeon.kim --- src/Tizen.Uix.Stt/Interop/Interop.Libraries.cs | 4 +- src/Tizen.Uix.Stt/Interop/Interop.Stt.cs | 4 +- .../DefaultLanguageChangedEventArgs.cs | 6 +- .../Tizen.Uix.Stt/EngineChangedEventArgs.cs | 10 +- .../Tizen.Uix.Stt/ErrorOccurredEventArgs.cs | 6 +- .../Tizen.Uix.Stt/RecognitionResultEventArgs.cs | 8 +- src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs | 12 +- .../Tizen.Uix.Stt/StateChangedEventArgs.cs | 6 +- src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs | 396 ++++++++++----------- src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs | 10 +- .../Interop/Interop.Libraries.cs | 4 +- .../Interop/Interop.VoiceControl.cs | 4 +- .../Interop/Interop.VoiceControlCommand.cs | 6 +- .../CurrentLanguageChangedEventArgs.cs | 6 +- .../ErrorOccuredEventArgs.cs | 4 +- .../Tizen.Uix.VoiceControl/RecognitionResult.cs | 10 +- .../RecognitionResultEventArgs.cs | 2 +- .../ServiceStateChangedEventArgs.cs | 6 +- .../StateChangedEventArgs.cs | 6 +- .../Tizen.Uix.VoiceControl/VoiceCommand.cs | 52 +-- .../Tizen.Uix.VoiceControl/VoiceCommandList.cs | 125 ++++--- .../Tizen.Uix.VoiceControl/VoiceControlClient.cs | 274 +++++++------- 22 files changed, 488 insertions(+), 473 deletions(-) diff --git a/src/Tizen.Uix.Stt/Interop/Interop.Libraries.cs b/src/Tizen.Uix.Stt/Interop/Interop.Libraries.cs index 52501fb..a4bafe2 100755 --- a/src/Tizen.Uix.Stt/Interop/Interop.Libraries.cs +++ b/src/Tizen.Uix.Stt/Interop/Interop.Libraries.cs @@ -16,12 +16,12 @@ /// -/// Partial Interop Class +/// Partial interop class. /// internal static partial class Interop { /// - /// Partial Libraries Class + /// Partial libraries class. /// internal static partial class Libraries { diff --git a/src/Tizen.Uix.Stt/Interop/Interop.Stt.cs b/src/Tizen.Uix.Stt/Interop/Interop.Stt.cs index cbf6f0d..f29291c 100755 --- a/src/Tizen.Uix.Stt/Interop/Interop.Stt.cs +++ b/src/Tizen.Uix.Stt/Interop/Interop.Stt.cs @@ -19,12 +19,12 @@ using System; using System.Runtime.InteropServices; /// -/// Partial Interop Class +/// Partial interop class. /// internal static partial class Interop { /// - /// Stt Interop Class + /// Stt interop class. /// internal static class Stt { diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs index 7031f5d..ed3b72e 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs @@ -19,7 +19,7 @@ namespace Tizen.Uix.Stt { /// - /// This class holds information about the DefaultLanguageChanged Event + /// This class holds information about the DefaultLanguageChanged event. /// /// 3 public class DefaultLanguageChangedEventArgs @@ -31,7 +31,7 @@ namespace Tizen.Uix.Stt } /// - /// The previous language + /// The previous language. /// /// 3 public string PreviousLanguage @@ -41,7 +41,7 @@ namespace Tizen.Uix.Stt } /// - /// The current language + /// The current language. /// /// 3 public string CurrentLanguage diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs index c6b5eee..49b152c 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs @@ -18,7 +18,7 @@ namespace Tizen.Uix.Stt { /// - /// This class holds information related to Engine Changed Event + /// This class holds information related to the EngineChanged event. /// /// 3 public class EngineChangedEventArgs @@ -32,7 +32,7 @@ namespace Tizen.Uix.Stt } /// - /// Engine Id + /// The Engine ID. /// /// 3 public string EngineId @@ -42,7 +42,7 @@ namespace Tizen.Uix.Stt } /// - /// Default Language + /// The default language. /// /// 3 public string Language @@ -52,7 +52,7 @@ namespace Tizen.Uix.Stt } /// - /// The necessity of credential + /// The necessity of the credential. /// /// 3 public bool NeedCredential @@ -62,7 +62,7 @@ namespace Tizen.Uix.Stt } /// - /// Whether the silence detection is supported or not + /// Whether silence detection is supported or not. /// /// 3 public bool SupportSilence diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccurredEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccurredEventArgs.cs index f479c2e..64c1e31 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccurredEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccurredEventArgs.cs @@ -21,7 +21,7 @@ using static Interop.Stt; namespace Tizen.Uix.Stt { /// - /// This class holds information related to the STT ErrorOccurred Event + /// This class holds information related to the STT ErrorOccurred event. /// /// 3 public class ErrorOccurredEventArgs @@ -157,7 +157,7 @@ namespace Tizen.Uix.Stt } /// - /// The Error Value + /// The error value. /// /// 3 public Error ErrorValue @@ -171,7 +171,7 @@ namespace Tizen.Uix.Stt /// /// 3 /// - /// string error message + /// String error message. /// public string ErrorMessage { diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs index 2618585..7f5fb95 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs @@ -99,7 +99,7 @@ namespace Tizen.Uix.Stt } /// - /// The result event + /// The result event. /// /// 3 public ResultEvent Result @@ -111,7 +111,7 @@ namespace Tizen.Uix.Stt } /// - /// Result texts. + /// The result text. /// /// 3 public IEnumerable Data @@ -123,7 +123,7 @@ namespace Tizen.Uix.Stt } /// - /// Returns the Result text count. + /// Returns the result text count. /// /// 3 public int DataCount @@ -135,7 +135,7 @@ namespace Tizen.Uix.Stt } /// - /// Engine message + /// The engine message. /// /// 3 public ResultMessage Message diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs index ecf0b91..5b25965 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs @@ -20,7 +20,7 @@ using static Interop.Stt; namespace Tizen.Uix.Stt { /// - /// This Class represents the result of recognition result from the engine. + /// This class represents the result of recognition result from the engine. /// /// 3 public class ResultTime @@ -35,7 +35,7 @@ namespace Tizen.Uix.Stt } /// - /// The result index + /// The result index. /// /// 3 public int Index @@ -45,7 +45,7 @@ namespace Tizen.Uix.Stt } /// - /// The token event + /// The token event. /// /// 3 public TimeEvent TokenEvent @@ -55,7 +55,7 @@ namespace Tizen.Uix.Stt } /// - /// The result text + /// The result text. /// /// 3 public string Text @@ -65,7 +65,7 @@ namespace Tizen.Uix.Stt } /// - /// The start time of result text + /// The start time of result text. /// /// 3 public long StartTime @@ -75,7 +75,7 @@ namespace Tizen.Uix.Stt } /// - /// The end time of result text + /// The end time of result text. /// /// 3 public long EndTime diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs index eb55c4c..6edbede 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs @@ -18,7 +18,7 @@ namespace Tizen.Uix.Stt { /// - /// This class holds information related to the STT StateChanged event + /// This class holds information related to the STT StateChanged event. /// /// 3 public class StateChangedEventArgs @@ -30,7 +30,7 @@ namespace Tizen.Uix.Stt } /// - /// A previous state + /// The previous state. /// /// 3 public State Previous @@ -39,7 +39,7 @@ namespace Tizen.Uix.Stt internal set; } /// - /// A current state + /// The current state. /// /// 3 public State Current diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs index c08f390..1860270 100644 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs @@ -23,36 +23,36 @@ using static Interop.Stt; namespace Tizen.Uix.Stt { /// - /// The token event + /// The token event. /// /// 3 public enum ResultEvent { /// - /// Event when the recognition full or last result is ready + /// Event when the recognition for full or last result is ready. /// /// 3 FinalResult = 0, /// - /// Event when the recognition partial result is ready + /// Event when the recognition for partial result is ready. /// /// 3 PartialResult, /// - /// Event when the recognition has failed + /// Event when the recognition has failed. /// /// 3 Error }; /// - /// Enumeration representing the result message + /// Enumeration for representing the result message. /// /// 3 public enum ResultMessage { /// - /// No Error + /// No Error. /// /// 3 None, @@ -89,144 +89,144 @@ namespace Tizen.Uix.Stt }; /// - /// Enumeration for the Token type + /// Enumeration for the token types. /// /// 3 public enum TimeEvent { /// - /// Event when the token is beginning type + /// Event when the token is beginning type. /// /// 3 Beginning = 0, /// - /// Event when the token is middle type + /// Event when the token is middle type. /// /// 3 Middle = 1, /// - /// Event when the token is end type + /// Event when the token is end type. /// /// 3 End = 2 }; /// - /// Enum for Error values that can occur + /// Enumeration for the error values that can occur. /// /// 3 public enum Error { /// - /// Successful, No error + /// Successful, No error. /// /// 3 None, /// - /// Out of Memory + /// Out of Memory. /// - /// 3 + /// 3 . OutOfMemory, /// - /// I/O error + /// I/O error. /// - /// 3 + /// 3 . IoError, /// - /// Invalid parameter + /// Invalid parameter. /// /// 3 InvalidParameter, /// - /// No answer from the STT service + /// No answer from the STT service. /// /// 3 TimedOut, /// - /// Device or resource busy + /// Device or resource busy. /// /// 3 RecorderBusy, /// - /// Network is down + /// Network is down. /// /// 3 OutOfNetwork, /// - /// Permission denied + /// Permission denied. /// /// 3 PermissionDenied, /// - /// STT NOT supported + /// STT NOT supported. /// /// 3 NotSupported, /// - /// Invalid state + /// Invalid state. /// /// 3 InvalidState, /// - /// Invalid language + /// Invalid language. /// /// 3 InvalidLanguage, /// - /// No available engine + /// No available engine. /// /// 3 EngineNotFound, /// - /// Operation failed + /// Operation failed. /// /// 3 OperationFailed, /// - /// Not supported feature of current engine + /// Not supported feature of current engine. /// /// 3 NotSupportedFeature, /// - /// Recording timed out + /// Recording timed out. /// /// 3 RecordingTimedOut, /// - /// No speech while recording + /// No speech while recording. /// /// 3 NoSpeech, /// - /// Progress to ready is not finished + /// Progress to ready is not finished. /// /// 3 InProgressToReady, /// - /// Progress to recording is not finished + /// Progress to recording is not finished. /// /// 3 InProgressToRecording, /// - /// Progress to processing is not finished + /// Progress to processing is not finished. /// /// 3 InProgressToProcessing, /// - /// Service reset + /// Service reset. /// /// 3 ServiceReset }; /// - /// Enumeration for Recognition Types + /// Enumeration for the recognition types. /// /// 3 public enum RecognitionType { /// - /// Free form dictation + /// Free form dictation. /// /// 3 Free, @@ -236,73 +236,73 @@ namespace Tizen.Uix.Stt /// 3 Partial, /// - /// Search + /// Search. /// /// 3 Search, /// - /// Web Search + /// Web search. /// /// 3 WebSearch, /// - /// Map + /// Map. /// /// 3 Map }; /// - /// Enumeration for the State types + /// Enumeration for the state types. /// /// 3 public enum State { /// - /// Created state + /// Created state. /// /// 3 Created = 0, /// - /// Ready state + /// Ready state. /// /// 3 Ready = 1, /// - /// Recording state + /// Recording state. /// /// 3 Recording = 2, /// - /// Processing state + /// Processing state. /// /// 3 Processing = 3, /// - /// Unavailable + /// Unavailable. /// /// 3 Unavailable }; /// - /// Enumeration for the Silence Detection types + /// Enumeration for the silence detection types. /// /// 3 public enum SilenceDetection { /// - /// Silence detection type - False + /// Silence detection type - False. /// /// 3 False = 0, /// - /// Silence detection type - True + /// Silence detection type - True. /// /// 3 True = 1, /// - /// Silence detection type - Auto + /// Silence detection type - Auto. /// /// 3 Auto = 2 @@ -310,11 +310,11 @@ namespace Tizen.Uix.Stt /// /// A main function of Speech-To-Text (below STT) API recognizes sound data recorded by users. - /// After choosing a language, applications will start recording and recognizing. + /// After choosing a language, the applications will start recording and recognizing. /// After recording, the applications will receive the recognized result. /// The STT has a client-server for the service of multi-applications. - /// The STT service always works in the background as a server. If the service is not working, client library will invoke it and client will communicate with it. - /// The service has engines and the recorder so client does not have the recorder itself. Only the client request commands to the STT service for using STT. + /// The STT service always works in the background as a server. If the service is not working, client library will invoke it and the client will communicate with it. + /// The service has engines and a recorder, so that the client does not have the recorder itself. Only the client request commands to the STT service for using STT. /// /// 3 public class SttClient : IDisposable @@ -346,10 +346,10 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Out of Memory. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to operation failed. + /// This exception can be due to out of memory. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. public SttClient() { IntPtr handle; @@ -414,7 +414,7 @@ namespace Tizen.Uix.Stt } /// - /// Event to be invoked when STT state changes. + /// Event to be invoked when the STT state changes. /// /// 3 public event EventHandler StateChanged @@ -503,7 +503,7 @@ namespace Tizen.Uix.Stt } /// - /// Event to be invoked when default language change. + /// Event to be invoked when the default language changes. /// /// 3 public event EventHandler DefaultLanguageChanged @@ -550,7 +550,7 @@ namespace Tizen.Uix.Stt } /// - /// Event to be invoked to detect engine change. + /// Event to be invoked to detect the engine change. /// /// 3 public event EventHandler EngineChanged @@ -638,7 +638,7 @@ namespace Tizen.Uix.Stt /// http://tizen.org/privilege/recorder /// ///
-        /// The State must be Recording.
+        /// The state must be recording.
         /// 
public float RecordingVolume { @@ -672,7 +672,7 @@ namespace Tizen.Uix.Stt /// http://tizen.org/privilege/recorder /// /// - /// Current STT State value. + /// Current STT state value. /// public State CurrentState { @@ -705,16 +705,16 @@ namespace Tizen.Uix.Stt /// http://tizen.org/privilege/recorder /// /// - /// This Exception can occur while setting due to the following reasons + /// This exceptioncan occur while setting due to the following reasons: /// 1. Operation Failed /// 2. Invalid State /// - /// This Exception can be due to Out of Memory. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. - /// This can happen if Improper EngineId is provided while setting the value. + /// This exception can be due to out of memory. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. + /// This can happen if improper EngineId is provided while setting the value. ///
-        /// The State must be Created.
+        /// The state must be created.
         /// 
public string Engine { @@ -749,11 +749,11 @@ namespace Tizen.Uix.Stt } /// - /// Retrieves the time stamp of the current recognition result + /// Retrieves the time stamp of the current recognition result. /// /// 3 /// - /// list of ResultTime + /// List of ResultTime. /// /// /// http://tizen.org/privilege/recorder @@ -763,11 +763,11 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This function should only be called in RecognitionResult Event + /// This function should only be called in the RecognitionResult event. /// - /// This Exception can be due to Operation Failed. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to operation failed. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. public IEnumerable GetDetailedResult() { List list = new List(); @@ -788,14 +788,14 @@ namespace Tizen.Uix.Stt /// - /// Gets the private data from stt engine. + /// Gets the private data from the STT engine. /// /// 3 /// - /// The key string + /// The key string. /// /// - /// The Data Corresponding to the Key provided + /// The data corresponding to the key is provided. /// /// /// http://tizen.org/privilege/recorder @@ -804,11 +804,11 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to No Answer from STT Service. + /// This exception can be due to invalid state. + /// This exception can be due to STT not supported. + /// This exception can be due to No Answer from STT Service. ///
-        /// The State must be Ready.
+        /// The state must be ready.
         /// 
public string GetPrivateData(string key) { @@ -827,14 +827,14 @@ namespace Tizen.Uix.Stt } /// - /// Sets the private data to stt engine. + /// Sets the private data to the STT engine. /// /// 3 /// - /// The key string + /// The key string. /// /// - /// The data string + /// The data string. /// /// /// http://tizen.org/privilege/recorder @@ -843,12 +843,12 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to No Answer from STT Service. + /// This exception can be due to invalid state. + /// This exception can be due to STT not supported. + /// This exception can be due to No Answer from STT Service. /// This can happen if Improper value is provided while setting the value. ///
-        /// The State must be Ready.
+        /// The state must be ready.
         /// 
public void SetPrivateData(string key, string data) { @@ -864,11 +864,11 @@ namespace Tizen.Uix.Stt } /// - /// Gets the list of Supported Engine + /// Gets the list of supported engines. /// /// 3 /// - /// IEnumerable<SupportedEngine> list of supported engines + /// IEnumerable<SupportedEngine> list of supported engines. /// /// /// http://tizen.org/privilege/recorder @@ -877,10 +877,10 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Out of Memory. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to operation failed. + /// This exception can be due to out of memory. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. public IEnumerable GetSupportedEngines() { List engineList = new List(); @@ -906,11 +906,11 @@ namespace Tizen.Uix.Stt } /// - /// Sets the app credential + /// Sets the application credential. /// /// 3 /// - /// The credential string + /// The credential string. /// /// /// http://tizen.org/privilege/recorder @@ -920,16 +920,16 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons + /// This exceptioncan be due to the following reasons: /// 1. Operation Failed /// 2. Invalid State /// - /// This Exception can be due to Out of Memory. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to out of memory. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. /// This can happen if Improper value is provided while setting the value. ///
-        /// The State must be Created.
+        /// The state must be created.
         /// 
public void SetCredential(string credential) { @@ -955,15 +955,15 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to invalid state. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. ///
-        /// The State must be Created.
+        /// The state must be created.
         /// 
/// - /// If this function is successful, the STT state will be Ready - /// If this function is unsuccessful, ErrorOccurred event will be invoked + /// If this function is successful, the STT state will be ready. + /// If this function is unsuccessful, ErrorOccurred event will be invoked. /// public void Prepare() { @@ -989,14 +989,14 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to invalid state. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. ///
-        /// The State must be Ready.
+        /// The state must be ready.
         /// 
/// - /// If this function is successful, the STT state will be Created + /// If this function is successful, the STT state will be Created. /// public void Unprepare() { @@ -1012,7 +1012,7 @@ namespace Tizen.Uix.Stt } /// - /// Retrieves all supported languages of current engine. + /// Retrieves all the supported languages of the current engine. /// The language is specified as an ISO 3166 alpha-2 two letter country-code followed by ISO 639-1 for the two-letter language code. /// For example, "ko_KR" for Korean, "en_US" for American English. /// @@ -1021,19 +1021,19 @@ namespace Tizen.Uix.Stt /// http://tizen.org/privilege/recorder ///
/// - /// list of strings of supported languages. + /// List of strings for supported languages. /// /// /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons + /// This exception can be due to the following reasons: /// 1. Engine Not Found. /// 2. Operation Failed. /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. public IEnumerable GetSupportedLanguages() { List languageList = new List(); @@ -1068,21 +1068,21 @@ namespace Tizen.Uix.Stt /// RecognitionType value. /// /// - /// bool value indicating whether the recognition type is supported. + /// Bool value indicating whether the recognition type is supported. /// /// /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons + /// This exception can be due to the following reasons: /// 1. Invalid State - /// 2. Engine Not Found. - /// 3. Operation Failed. + /// 2. Engine Not Found + /// 3. Operation Failed /// - /// This Exception can be due to STT Not Supported. + /// This exception can be due to STT not supported. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public bool IsRecognitionTypeSupported(RecognitionType type) { @@ -1151,14 +1151,14 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons + /// This exception can be due to the following reasons: /// 1. Invalid State - /// 2. Not supported feature of current engine. - /// 3. Operation Failed. + /// 2. Not supported feature of current engine + /// 3. Operation Failed /// - /// This Exception can be due to STT Not Supported. + /// This exception can be due to STT not supported. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public void SetSilenceDetection(SilenceDetection type) { @@ -1175,29 +1175,29 @@ namespace Tizen.Uix.Stt /// /// Sets the sound to start recording. - /// Sound file type should be wav type. + /// Sound file type should be .wav type. /// /// 3 /// /// http://tizen.org/privilege/recorder /// /// - /// File Path for the sound. + /// File path for the sound. /// /// /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. /// If an Invalid Parameter is provided. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public void SetStartSound(string filePath) { @@ -1224,14 +1224,14 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public void UnsetStartSound() { @@ -1248,7 +1248,7 @@ namespace Tizen.Uix.Stt /// /// Sets the sound to stop recording. - /// Sound file type should be wav type. + /// Sound file type should be .wav type. /// /// 3 /// @@ -1262,15 +1262,15 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. - /// If an Invalid Parameter is provided. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. + /// This exception can be due to Invalid Parameter. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public void SetStopSound(string filePath) { @@ -1297,14 +1297,14 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// his exception can be due to permission denied. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
public void UnsetStopSound() { @@ -1320,41 +1320,41 @@ namespace Tizen.Uix.Stt } /// - /// Starts recording and recognition asynchronously. - /// This function starts recording in the STT service and sending recording data to engine. - /// This work continues until Stop, Cancel or silence detected by engine + /// Starts the recording and recognition asynchronously. + /// This function starts recording in the STT service and sends the recording data to the engine. + /// This work continues until stop, cancel, or silence is detected by engine. /// /// 3 /// /// http://tizen.org/privilege/recorder /// /// - /// The language selected + /// The language selected. /// /// - /// The type for recognition + /// The type for recognition. /// /// /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. - /// 3. Recorder Busy. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed + /// 3. Recorder Busy /// 4. Progress to recording is not finished /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. - /// If an Invalid Language is provided. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. + /// This exception can be due to an invalid language. ///
-        /// The state should be Ready.
+        /// The state should be ready.
         /// 
/// - /// It will invoke StateChanged Event if registered. - /// If this function succeeds, the STT state will be Recording. - /// If you call this function again before state changes, you will receive ErrorINProgressToRecording. + /// It will invoke the StateChanged event, if registered. + /// If this function succeeds, the STT state will be recording. + /// If you call this function again before the state changes, you will receive ErrorINProgressToRecording. /// public void Start(string language, RecognitionType type) { @@ -1405,7 +1405,7 @@ namespace Tizen.Uix.Stt } /// - /// Finishes the recording and starts recognition processing in engine asynchronously. + /// Finishes the recording and starts recognition processing in the engine asynchronously. /// /// 3 /// @@ -1416,23 +1416,23 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. - /// 3. Progress to ready is not finished. - /// 4. Progress to recording is not finished. - /// 5. Progress to processing is not finished. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed + /// 3. Progress to ready is not finished + /// 4. Progress to recording is not finished + /// 5. Progress to processing is not finished /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. ///
         /// The state should be Recording.
         /// 
/// - /// It will invoke StateChanged Event if registered. - /// If this function succeeds, the STT state will be Processing. - /// If you call this function again before state changes, you will receive ErrorINProgressToProcessing. - /// After processing of engine, RecognitionResult event is invoked + /// It will invoke the StateChanged Event, if registered. + /// If this function succeeds, the STT state will be processing. + /// If you call this function again before the state changes, you will receive ErrorINProgressToProcessing. + /// After processing of engine, the RecognitionResult event is invoked. /// public void Stop() { @@ -1448,9 +1448,9 @@ namespace Tizen.Uix.Stt } /// - /// Cancels processing recognition and recording asynchronously. - /// This function cancels recording and engine cancels recognition processing. - /// After successful cancel, StateChanged event is invoked otherwise if error is occurred, ErrorOccurred event is invoked. + /// Cancels processing the recognition and recording asynchronously. + /// This function cancels recording and the engine cancels recognition processing. + /// After successful cancellation, the StateChanged event is invoked, otherwise if an error is occurs, the ErrorOccurred event is invoked. /// /// 3 /// @@ -1461,22 +1461,22 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reasons - /// 1. Invalid State. - /// 2. Operation Failed. - /// 3. Progress to ready is not finished. - /// 4. Progress to recording is not finished. - /// 5. Progress to processing is not finished. + /// This exception can be due to the following reasons: + /// 1. Invalid State + /// 2. Operation Failed + /// 3. Progress to ready is not finished + /// 4. Progress to recording is not finished + /// 5. Progress to processing is not finished /// - /// This Exception can be due to STT Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to STT not supported. + /// This exception can be due to permission denied. ///
         /// The state should be Recording or Processing.
         /// 
/// - /// It will invoke StateChanged Event if registered. - /// If this function succeeds, the STT state will be Ready. - /// If you call this function again before state changes, you will receive ErrorINProgressToReady. + /// It will invoke the StateChanged event, if registered. + /// If this function succeeds, the STT state will be ready. + /// If you call this function again before the state changes, you will receive ErrorINProgressToReady. /// public void Cancel() { @@ -1492,7 +1492,7 @@ namespace Tizen.Uix.Stt } /// - /// Method to release resources + /// A method to release resources. /// public void Dispose() { diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs index d2129e8..ace1010 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs @@ -18,7 +18,7 @@ namespace Tizen.Uix.Stt { /// - /// This Class provideds the Information related to STT Engine. + /// This class provides the information related to STT engine. /// /// 3 public class SupportedEngine @@ -32,11 +32,11 @@ namespace Tizen.Uix.Stt this._engineName = name; } /// - /// The Engine Id + /// The engine ID. /// /// 3 /// - /// The string Engine Id + /// The string engine ID. /// public string EngineId { @@ -47,11 +47,11 @@ namespace Tizen.Uix.Stt } /// - /// The Engine Name + /// The engine name. /// /// 3 /// - /// The string Engine Name + /// The string engine name. /// public string EngineName { diff --git a/src/Tizen.Uix.VoiceControl/Interop/Interop.Libraries.cs b/src/Tizen.Uix.VoiceControl/Interop/Interop.Libraries.cs index 22f391b..c336e9a 100755 --- a/src/Tizen.Uix.VoiceControl/Interop/Interop.Libraries.cs +++ b/src/Tizen.Uix.VoiceControl/Interop/Interop.Libraries.cs @@ -15,12 +15,12 @@ */ /// -/// Partial Interop Class +/// Partial interop class. /// internal static partial class Interop { /// - /// Partial Libraries Class + /// Partial libraries class. /// internal static partial class Libraries { diff --git a/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs b/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs index edc20f6..f6d386e 100755 --- a/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs +++ b/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControl.cs @@ -21,12 +21,12 @@ using Tizen.Uix.VoiceControl; using static Interop.VoiceControlCommand; /// -/// Partial Interop Class +/// Partial interop class. /// internal static partial class Interop { /// - /// VoiceControl Interop Class + /// VoiceControl interop class. /// internal static class VoiceControl { diff --git a/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControlCommand.cs b/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControlCommand.cs index c29057a..18dd338 100755 --- a/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControlCommand.cs +++ b/src/Tizen.Uix.VoiceControl/Interop/Interop.VoiceControlCommand.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the License); @@ -21,12 +21,12 @@ using Tizen; using Tizen.Uix.VoiceControl; /// -/// Partial Interop Class +/// Partial interop class. /// internal static partial class Interop { /// - /// VoiceControlCommand Interop Class + /// VoiceControlCommand interop class. /// internal static class VoiceControlCommand { diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs index 8ab933d..f5afbbe 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs @@ -17,7 +17,7 @@ namespace Tizen.Uix.VoiceControl { /// - /// This class holds information about the CurrentLanguageChanged Event + /// This class holds information about the CurrentLanguageChanged event. /// /// 3 public class CurrentLanguageChangedEventArgs @@ -29,7 +29,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// The previous language + /// The previous language. /// /// 3 public string PreviousLanguage @@ -39,7 +39,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// The current language + /// The current language. /// /// 3 public string CurrentLanguage diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs index ce5de7b..da5c5f4 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs @@ -20,7 +20,7 @@ using static Interop.VoiceControl; namespace Tizen.Uix.VoiceControl { /// - /// This class holds information related to the VoiceControl ErrorOccured Event + /// This class holds information related to the VoiceControl ErrorOccured event. /// /// 3 public class ErrorOccuredEventArgs @@ -146,7 +146,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// The Error Value + /// The error value. /// /// 3 public Error ErrorValue diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs index d3e3103..523a672 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs @@ -24,8 +24,8 @@ namespace Tizen.Uix.VoiceControl { /// /// The recognition result from the engine. - /// If the duplicated commands are recognized, the event(e.g. Result.Rejected) of command may be rejected - /// for selecting command as priority.If you set similar or same commands or the recognized results are multi-results, CommandList has the multi commands. + /// If the duplicated commands are recognized, the event(e.g. Result.Rejected) of a command may be rejected + /// for selecting the command as a priority. If you set similar or same commands, or the recognized results are multi-results, the CommandList has multi commands. /// /// 3 public class RecognitionResult @@ -44,7 +44,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// The result event + /// The result event. /// /// 3 public ResultEvent Result @@ -56,7 +56,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// The spoken text + /// The spoken text. /// /// 3 public string ResultMessage @@ -69,7 +69,7 @@ namespace Tizen.Uix.VoiceControl /// - /// The recognized command list + /// The recognized command list. /// /// 3 public VoiceCommandList CommandList diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs index c3fc3dc..536f216 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs @@ -31,7 +31,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets the Recognition result + /// Gets the recognition result. /// /// 3 public RecognitionResult Result diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs index 077c623..a20281c 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs @@ -17,7 +17,7 @@ namespace Tizen.Uix.VoiceControl { /// - /// This class holds information related to the VoiceControl service ServiceStateChanged event + /// This class holds information related to the VoiceControl service ServiceStateChanged event. /// /// 3 public class ServiceStateChangedEventArgs @@ -29,7 +29,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// A previous state + /// The previous state. /// /// 3 public ServiceState Previous @@ -39,7 +39,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// A current state + /// The current state. /// /// 3 public ServiceState Current diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs index d69e2fe..011554d 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs @@ -17,7 +17,7 @@ namespace Tizen.Uix.VoiceControl { /// - /// This class holds information related to the VoiceControl client StateChanged event + /// This class holds information related to the VoiceControl client StateChanged event. /// /// 3 public class StateChangedEventArgs @@ -29,7 +29,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// A previous state + /// The previous state. /// /// 3 public State Previous @@ -39,7 +39,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// A current state + /// The current state. /// /// 3 public State Current diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs index b6be557..1175c4a 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs @@ -21,39 +21,39 @@ using static Interop.VoiceControlCommand; namespace Tizen.Uix.VoiceControl { /// - /// Enumeration for Command Format + /// Enumeration for the command format. /// /// 3 public enum CommandFormat { /// - /// fixed command format. + /// The fixed command format. /// Fixed = 0, /// - /// fixed and variable fixed command format. + /// The fixed and variable fixed command format. /// FixedAndVFixed = 1, /// - /// variable fixed and fixed command format. + /// The variable fixed and fixed command format. /// VFixedAndFixed = 2, /// - /// fixed and non-fixed command format. + /// The fixed and non-fixed command format. /// FixedAndNonFixed = 3, /// - /// non-fixed and fixed command format. + /// The non-fixed and fixed command format. /// NonFixedAndFixed = 4, /// - /// Undefined + /// Undefined. /// Undefined = 5 }; /// - /// This class represents a Voice Command + /// This class represents a voice command. /// /// 3 public class VoiceCommand @@ -61,13 +61,13 @@ namespace Tizen.Uix.VoiceControl internal SafeCommandHandle _handle; /// - /// Public Constructor + /// The public constructor. /// /// 3 - /// This Exception can be due to Invalid State. - /// This Exception can be due to Out Of Memory. - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to an invalid state. + /// This exception can be due to out Of memory. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public VoiceCommand() { SafeCommandHandle handle; @@ -88,7 +88,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets the unfixed command. /// This property should be used for commands which have non-fixed format. - /// empty string will be returned in case of some internal error + /// An empty string will be returned in case of some internal error. /// /// 3 public string UnfixedCommand @@ -108,12 +108,12 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets/Sets command type. + /// Gets or sets the command type. /// /// 3 - /// If you do not set the command type, the default value is Undefined. You should set type if command is valid - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// If you do not set the command type, the default value is undefined. You should set the type if the command is valid. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public CommandType Type { get @@ -145,12 +145,12 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets/Sets the command format. + /// Gets or sets the command format. /// /// 3 - /// The default format is Fixed - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// The default format is Fixed. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public CommandFormat Format { get @@ -176,12 +176,12 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets/Sets command - /// in case of get empty string will be returned in case of some internal error + /// Gets or sets the command. + /// A get empty string will be returned in case of some internal error. /// /// 3 - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public string Command { get diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs index f3b962f..3b9d4ca 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs @@ -22,7 +22,7 @@ using static Interop.VoiceControlCommand; namespace Tizen.Uix.VoiceControl { /// - /// this class represents list of Voice Commands + /// This class represents a list of the voice commands. /// /// 3 public class VoiceCommandList @@ -30,9 +30,10 @@ namespace Tizen.Uix.VoiceControl internal SafeCommandListHandle _handle; private List _list; private VcCmdListCb _callback; + private int _index; /// - /// Public Constructor + /// The public constructor. /// /// 3 /// @@ -45,10 +46,10 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Out of memory. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to out of memory. + /// This exception can be due to an invalid parameter. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public VoiceCommandList() { SafeCommandListHandle handle; @@ -59,20 +60,38 @@ namespace Tizen.Uix.VoiceControl throw ExceptionFactory.CreateException(error); } _handle = handle; + _list = new List(); + _index = 0; } internal VoiceCommandList(SafeCommandListHandle handle) { _handle = handle; + _index = 0; + + _list = new List(); + _callback = (IntPtr vcCommand, IntPtr userData) => + { + SafeCommandHandle cmdHandle = new SafeCommandHandle(vcCommand); + cmdHandle._ownership = false; + _list.Add(new VoiceCommand(cmdHandle)); + return true; + }; + ErrorCode error = VcCmdListForeachCommands(_handle, _callback, IntPtr.Zero); + if (error != ErrorCode.None) + { + Log.Error(LogTag, "GetAllCommands Failed with error " + error); + throw ExceptionFactory.CreateException(error); + } } /// - /// Gets command count of list. - /// -1 is returned in case of internal failure. + /// Gets a command count of the list. + /// -1 is returned in case of an internal failure. /// /// 3 /// - /// Command counts of the list. + /// Command count of the list. /// /// /// http://tizen.org/privilege/recorder @@ -97,8 +116,8 @@ namespace Tizen.Uix.VoiceControl } /// - /// Get current command from command list by index. - /// null will be returned in case of Empty List + /// Gets the current command from the command list by index. + /// Null will be returned in case of an empty list. /// /// 3 /// @@ -116,18 +135,18 @@ namespace Tizen.Uix.VoiceControl { SafeCommandHandle current; ErrorCode error = VcCmdListGetCurrent(_handle, out current); - if (error != ErrorCode.None) + if (ErrorCode.None != error) { Log.Error(LogTag, "Current Failed with error " + error); return null; } - current._ownership = false; - return new VoiceCommand(current); + + return _list[_index]; } } /// - /// Adds command to command list. + /// Adds a command to the command list. /// /// 3 /// @@ -141,9 +160,9 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// The command - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. - /// This will occur if the provide parameter is null. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. + /// This will occur if the provided parameter is null. public void Add(VoiceCommand command) { ErrorCode error = VcCmdListAdd(_handle, command._handle); @@ -152,10 +171,12 @@ namespace Tizen.Uix.VoiceControl Log.Error(LogTag, "Add Failed with error " + error); throw ExceptionFactory.CreateException(error); } + + _list.Add(command); } /// - /// Removes command from command list. + /// Removes a command from the command list. /// /// 3 /// @@ -169,9 +190,9 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// The command - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. - /// This will occur if the provide parameter is null. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. + /// This will occur if the provided parameter is null. public void Remove(VoiceCommand command) { ErrorCode error = VcCmdListRemove(_handle, command._handle); @@ -180,10 +201,12 @@ namespace Tizen.Uix.VoiceControl Log.Error(LogTag, "Remove Failed with error " + error); throw ExceptionFactory.CreateException(error); } + + _list.Remove(command); } /// - /// Retrieves all commands of command list. + /// Retrieves all commands from the command list. /// /// 3 /// @@ -196,16 +219,16 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public IEnumerable GetAllCommands() { - _list = new List(); + List commandList = new List(); _callback = (IntPtr vcCommand, IntPtr userData) => { SafeCommandHandle handle = new SafeCommandHandle(vcCommand); handle._ownership = false; - _list.Add(new VoiceCommand(handle)); + commandList.Add(new VoiceCommand(handle)); return true; }; ErrorCode error = VcCmdListForeachCommands(_handle, _callback, IntPtr.Zero); @@ -219,7 +242,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Moves index to first command. + /// Moves an index to the first command. /// /// 3 /// @@ -232,21 +255,22 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to List Empty. - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to list empty. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public void First() { ErrorCode error = VcCmdListFirst(_handle); - if (error != ErrorCode.None) + if (ErrorCode.None != error) { Log.Error(LogTag, "First Failed with error " + error); throw ExceptionFactory.CreateException(error); } + _index = 0; } /// - /// Moves index to last command. + /// Moves an index to the last command. /// /// 3 /// @@ -259,21 +283,22 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to List Empty. - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to list empty. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public void Last() { ErrorCode error = VcCmdListLast(_handle); - if (error != ErrorCode.None) + if (ErrorCode.None != error) { Log.Error(LogTag, "Last Failed with error " + error); throw ExceptionFactory.CreateException(error); } + _index = Count - 1; } /// - /// Moves index to next command. + /// Moves an index to the next command. /// /// 3 /// @@ -287,24 +312,25 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reaons - /// 1. List Empty + /// This exception can be due to the following reasons: + /// 1. List empty /// 2. List reached end /// - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public void Next() { ErrorCode error = VcCmdListNext(_handle); - if (error != ErrorCode.None) + if (ErrorCode.None != error) { Log.Error(LogTag, "Next Failed with error " + error); throw ExceptionFactory.CreateException(error); } + _index++; } /// - /// Moves index to previous command. + /// Moves an index to the previous command. /// /// 3 /// @@ -318,20 +344,21 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// - /// This Exception can be due to the following reaons - /// 1. List Empty + /// This exception can be due to the following reasons: + /// 1. List empty /// 2. List reached end /// - /// This Exception can be due to Permission Denied. - /// This Exception can be due to Not Supported. + /// This exception can be due to permission denied. + /// This exception can be due to not supported. public void Previous() { ErrorCode error = VcCmdListPrev(_handle); - if (error != ErrorCode.None) + if (ErrorCode.None != error) { Log.Error(LogTag, "Previous Failed with error " + error); throw ExceptionFactory.CreateException(error); } + _index--; } } } diff --git a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs index 4b8638d..b613397 100755 --- a/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs +++ b/src/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs @@ -23,85 +23,85 @@ using static Interop.VoiceControlCommand; namespace Tizen.Uix.VoiceControl { /// - /// Enum for Error values that can occur + /// Enumeration for the error values that can occur. /// /// 3 public enum Error { /// - /// Successful, No error + /// Successful, no error. /// None, /// - /// Out of Memory + /// Out of memory. /// OutOfMemory, /// - /// I/O error + /// I/O error. /// IoError, /// - /// Invalid parameter + /// Invalid parameter. /// InvalidParameter, /// - /// No answer from the STT service + /// No answer from the STT service. /// TimedOut, /// - /// Device or resource busy + /// Device or resource busy. /// RecorderBusy, /// - /// Permission denied + /// Permission denied. /// PermissionDenied, /// - /// VC NOT supported + /// VC NOT supported. /// NotSupported, /// - /// Invalid state + /// Invalid state. /// InvalidState, /// - /// Invalid language + /// Invalid language. /// InvalidLanguage, /// - /// No available engine + /// No available engine. /// EngineNotFound, /// - /// Operation failed + /// Operation failed. /// OperationFailed, /// - /// Operation Rejected + /// Operation rejected. /// OperationRejected, /// - /// List reached end + /// List reached end. /// IterationEnd, /// - /// List Empty + /// List empty. /// Empty, /// - /// Service reset + /// Service reset. /// ServiceReset, /// - /// Progress to ready is not finished + /// Progress to ready is not finished. /// InProgressToReady, /// - /// Progress to recording is not finished + /// Progress to recording is not finished. /// InProgressToRecording, /// - /// Progress to processing is not finished + /// Progress to processing is not finished. /// InProgressToProcessing }; @@ -113,106 +113,94 @@ namespace Tizen.Uix.VoiceControl public enum State { /// - /// 'None' state + /// 'None' state. /// None = 0, /// - /// 'Initialized' state + /// 'Initialized' state. /// Initialized = 1, /// - /// 'Ready' state + /// 'Ready' state. /// Ready = 2, /// - /// state cannot be determined + /// The state cannot be determined. /// Unavailable }; /// - /// Enumerations of service state. + /// Enumeration for the service state. /// /// 3 public enum ServiceState { /// - /// 'None' state + /// 'None' state. /// None = 0, /// - /// 'Ready' state + /// 'Ready' state. /// Ready = 1, /// - /// 'Recording' state + /// 'Recording' state. /// Recording = 2, /// - /// 'Processing' state + /// 'Processing' state. /// Processing = 3, /// - /// state cannot be determined + /// The state cannot be determined. /// Unavailable }; /// - /// Enumerations of result event. + /// Enumeration for the result event. /// /// 3 public enum ResultEvent { /// - /// Normal result + /// Normal result. /// Success = 0, /// - /// Rejected result + /// Rejected result. /// Rejected = 1 }; /// - /// Enumerations of command type. + /// Enumeration for the command type. /// /// 3 public enum CommandType { /// - /// Foreground command by client + /// Foreground command by the client. /// Foreground = 1, /// - /// Background command by client + /// Background command by the client. /// Background = 2, /// - /// Undefined command + /// The undefined command. /// Undefined = -1 }; /// - /// A main function of Voice Control API register command and gets notification for recognition result. - /// Applications can add their own commands and be provided result when their command is recognized by user voice input. + /// A main function of the voice control API registers the command and gets a notification for the recognition result. + /// Applications can add their own commands and provide results when their command is recognized by the user voice input. /// /// 3 public static class VoiceControlClient { - /// - /// Called when client gets the recognition result. - /// - /// 3 - /// - /// If the duplicated commands are recognized, the event(e.g. Result.Rejected) of command may be rejected - /// for selecting command as priority.If you set similar or same commands or the recognized results are multi-results, cmdList has the multi commands. - /// - /// The ResultEvent - /// Command List - /// Result - private static event EventHandler _recognitionResult; private static event EventHandler _stateChanged; private static event EventHandler _serviceStateChanged; @@ -229,21 +217,21 @@ namespace Tizen.Uix.VoiceControl private static RecognitionResult s_recognitionResult; /// - /// Gets current language. + /// Gets the current language. /// A language is specified as an ISO 3166 alpha-2 two letter country-code /// followed by ISO 639-1 for the two-letter language code. /// For example, "ko_KR" for Korean, "en_US" for American English. - /// Empty string is returned incase of some internal error + /// An empty string is returned in case of some internal error. /// /// 3 /// - /// Current language in voice control. + /// The current language in voice control. /// /// /// http://tizen.org/privilege/recorder /// ///
-        /// The State must be Initialized or Ready.
+        /// The state must be initialized or ready.
         /// 
public static string CurrentLanguage { @@ -263,17 +251,17 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets current state of voice control client. + /// Gets the current state of the voice control client. /// /// 3 /// - /// Current state of voice control client. + /// The current state of the voice control client. /// /// /// http://tizen.org/privilege/recorder /// ///
-        /// The State must be Initialized or Ready.
+        /// The state must be initialized or ready.
         /// 
public static State State { @@ -293,17 +281,17 @@ namespace Tizen.Uix.VoiceControl } /// - /// Gets current state of voice control service. + /// Gets the current state of the voice control service. /// /// 3 /// - /// Current state of voice control service. + /// The current state of the voice control service. /// /// /// http://tizen.org/privilege/recorder /// ///
-        /// The State must be Ready.
+        /// The state must be ready.
         /// 
public static ServiceState ServiceState { @@ -337,20 +325,20 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// - /// Invocation name is used to activate background commands. The invocation name can be the same as the application name or any other phrase. + /// The invocation name is used to activate background commands. The invocation name can be same as the application name or any other phrase. /// For example, an application "Tizen Sample" has a background command, "Play music", and the invocation name of the application is set to "Tizen Sample". /// In order to activate the background command, users can say "Tizen Sample, Play music". The invocation name is dependent on the current language. /// For example, if the current language is "en_US"(English), the invocation name is also "en_US". /// If the current language is "ja_JP"(Japanese) and the invocation name is "en_US", the invocation name will not be recognized. - /// This function should be called before SetCommandList(). + /// This function should be called before the SetCommandList(). /// - /// Invocation name that an application wants to be invoked by - /// This Exception can be due to Invalid State. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// Invocation name to be invoked by an application. + /// This exception can be due to an invalid state. + /// This exception can be due to an invalid parameter. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State must be Ready.
+        /// The state must be ready.
         /// 
public static void SetInvocationName(string name) { @@ -363,7 +351,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Initializes voice control. + /// Initializes the voice control. /// /// 3 /// @@ -376,12 +364,12 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Out Of Memory. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to operation failed. + /// This exception can be due to out Of memory. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. /// - /// The State will be Initialized. + /// The state will be initialized. /// public static void Initialize() { @@ -394,7 +382,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Deinitializes voice control. + /// Deinitializes the voice control. /// /// 3 /// @@ -407,10 +395,10 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to operation failed. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. public static void Deinitialize() { ErrorCode error = VcDeinitialize(); @@ -435,15 +423,15 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to operation failed. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
/// - /// The State will be Ready + /// The state must be ready. /// public static void Prepare() { @@ -469,14 +457,14 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready
+        /// The state must be ready.
         /// 
/// - /// The State should be Initialized + /// The state must be initialized. /// public static void Unprepare() { @@ -489,7 +477,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Retrieves all supported languages. + /// Retrieves all the supported languages. /// A language is specified as an ISO 3166 alpha-2 two letter country-code /// followed by ISO 639-1 for the two-letter language code. /// For example, "ko_KR" for Korean, "en_US" for American English. @@ -505,12 +493,12 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to operation failed. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready or Initialized
+        /// The state must be ready or initialized.
         /// 
public static IEnumerable GetSupportedLanguages() { @@ -536,13 +524,13 @@ namespace Tizen.Uix.VoiceControl ///
/// 3 /// - /// The Command List else null in case of no System Commands + /// The command list, else null in case of no system commands. /// /// /// http://tizen.org/privilege/recorder /// /// - /// public + /// public. /// /// /// http://tizen.org/feature/speech.control @@ -550,14 +538,14 @@ namespace Tizen.Uix.VoiceControl /// /// /// In the system command list, there are system commands predefined by product manufacturers. - /// Those commands have the highest priority. Therefore, the user can not set any commands same with the system commands. + /// Those commands have the highest priority. Therefore, the user cannot set any commands similar to system commands. /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Operation Failed. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to operation failed. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready
+        /// The state must be ready.
         /// 
public static VoiceCommandList GetSystemCommandList() { @@ -581,11 +569,11 @@ namespace Tizen.Uix.VoiceControl /// /// Requests to start the dialogue. - /// Using this function, the developer can request starting the dialogue to the framework. - /// When the developer requests the dialogue, two types of texts, dispText and uttText, can be sent by this function.dispText is a text for displaying, and uttText is that for uttering. + /// By using this function, the developer can start requesting the dialogue to the framework. + /// When the developer requests the dialogue, two types of texts, dispText and uttText can be sent by this function. dispText is a text for displaying and uttText is that for uttering. /// For example, if dispText is "October 10th" and uttText is "Today is October 10th.", "October 10th" will be displayed on the screen and "Today is October 10th." will be spoken. /// Also, the developer can set whether the dialogue starts automatically or not, using autoStart. - /// If the developer sets autoStart as true, the framework will start to record next speech and continue the dialogue. + /// If the developer sets autoStart as True, the framework will start to record the next speech and continue the dialogue. /// /// 3 /// @@ -599,17 +587,17 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// - /// If autoStart is true, the recognition will start again. In this case, it can be restarted up to 4 times. + /// If autoStart is True, the recognition will start again. In this case, it can be restarted up to 4 times. /// - /// Text to be displayed on the screen/// - /// Text to be spoken - /// A variable for setting whether the dialog session will be restarted automatically or not - /// This Exception can be due to Invalid State. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// Text to be displayed on the screen. + /// Text to be spoken. + /// A variable for setting whether the dialog session will be restarted automatically or not. + /// This exception can be due to an invalid state. + /// This exception can be due to an invalid parameter. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready
+        /// The state must be ready.
         /// 
public static void RequestDialog(string dispText, string uttText, bool autoStart) { @@ -622,7 +610,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Sets command list. + /// Sets the command list. /// /// 3 /// @@ -637,16 +625,16 @@ namespace Tizen.Uix.VoiceControl /// /// /// The command type is valid for CommandType 'Foreground' or 'Background'. - /// The matched commands of command list should be set and they should include type and command text at least. + /// The matched commands of the command list should be set and they should include type and command text at least. /// /// Command list /// Command type - /// This Exception can be due to Invalid State. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to an invalid parameter. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready
+        /// The state must be ready.
         /// 
public static void SetCommandList(VoiceCommandList list, CommandType type) { @@ -667,7 +655,7 @@ namespace Tizen.Uix.VoiceControl } /// - /// Unsets command list. + /// Unsets the command list. /// /// 3 /// @@ -681,12 +669,12 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/microphone /// /// Command type - /// This Exception can be due to Invalid State. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Not Supported. - /// This Exception can be due to Permission Denied. + /// This exception can be due to an invalid state. + /// This exception can be due to an invalid parameter. + /// This exception can be due to not supported. + /// This exception can be due to permission denied. ///
-        /// The State should be Ready
+        /// The state should be ready.
         /// 
public static void UnsetCommandList(CommandType type) { @@ -723,12 +711,12 @@ namespace Tizen.Uix.VoiceControl /// http://tizen.org/feature/speech.control /// http://tizen.org/feature/microphone /// - /// This Exception can be due to Invalid State. - /// This Exception can be due to Invalid Parameter. - /// This Exception can be due to Not Supported. - /// The Recognition Result if possible else a null object + /// This exception can be due to an invalid state. + /// This exception can be due to an invalid parameter. + /// This exception can be due to not supported. + /// The recognition result if possible, else a null object. ///
-        /// The State should be Ready
+        /// The state must be ready.
         /// 
public static RecognitionResult GetResult() { @@ -752,7 +740,7 @@ namespace Tizen.Uix.VoiceControl /// /// 3 ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
public static event EventHandler RecognitionResult { @@ -795,11 +783,11 @@ namespace Tizen.Uix.VoiceControl } /// - /// Event to be invoked when VoiceControl service state changes. + /// Event to be invoked when the VoiceControl service state changes. /// /// 3 ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
public static event EventHandler ServiceStateChanged { @@ -834,11 +822,11 @@ namespace Tizen.Uix.VoiceControl } /// - /// Event to be invoked when VoiceControl client state changes. + /// Event to be invoked when the VoiceControl client state changes. /// /// 3 ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
public static event EventHandler StateChanged { @@ -877,7 +865,7 @@ namespace Tizen.Uix.VoiceControl /// /// 3 ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
public static event EventHandler ErrorOccured { @@ -914,11 +902,11 @@ namespace Tizen.Uix.VoiceControl } /// - /// Event to be invoked when default laungage change. + /// Event to be invoked when the default language changes. /// /// 3 ///
-        /// The State should be Initialized
+        /// The state must be initialized.
         /// 
public static event EventHandler CurrentLanguageChanged { -- 2.7.4