From: sooyeon.kim Date: Wed, 31 May 2017 06:04:34 +0000 (+0900) Subject: Change Exceptions and Properties and Add API level X-Git-Tag: submit/trunk/20170823.075128~72^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8866c769e66dbb264a6c84d1633a118d163b002b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Change Exceptions and Properties and Add API level Change-Id: Ic0d7f7d752525fd7673738a569cd59ef006043d3 Signed-off-by: sooyeon.kim --- diff --git a/packaging/csapi-uix-stt.spec b/packaging/csapi-uix-stt.spec index 06c8faa..2e08c4c 100755 --- a/packaging/csapi-uix-stt.spec +++ b/packaging/csapi-uix-stt.spec @@ -1,6 +1,6 @@ Name: csapi-uix-stt Summary: Tizen STT Uix API for C# -Version: 1.0.2 +Version: 1.0.3 Release: 1 Group: Development/Libraries License: Apache-2.0 diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs index e5e5dfd..7031f5d 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/DefaultLanguageChangedEventArgs.cs @@ -21,6 +21,7 @@ namespace Tizen.Uix.Stt /// /// This class holds information about the DefaultLanguageChanged Event /// + /// 3 public class DefaultLanguageChangedEventArgs { internal DefaultLanguageChangedEventArgs(string previous, string current) @@ -32,6 +33,7 @@ namespace Tizen.Uix.Stt /// /// The previous language /// + /// 3 public string PreviousLanguage { get; @@ -41,10 +43,11 @@ namespace Tizen.Uix.Stt /// /// The current language /// + /// 3 public string CurrentLanguage { get; internal set; } } -} \ No newline at end of file +} diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs index 51d7a23..3694bbd 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/EngineChangedEventArgs.cs @@ -20,6 +20,7 @@ namespace Tizen.Uix.Stt /// /// This class holds information related to Engine Changed Event /// + /// 3 public class EngineChangedEventArgs { internal EngineChangedEventArgs(string engineId, string language, bool supportSilence, bool needCredential) @@ -33,6 +34,7 @@ namespace Tizen.Uix.Stt /// /// Engine Id /// + /// 3 public string EngineId { get; @@ -42,6 +44,7 @@ namespace Tizen.Uix.Stt /// /// Default Lanaguage /// + /// 3 public string Language { get; @@ -51,6 +54,7 @@ namespace Tizen.Uix.Stt /// /// The necessity of credential /// + /// 3 public bool NeedCredential { get; @@ -60,10 +64,11 @@ namespace Tizen.Uix.Stt /// /// Whether the silence detection is supported or not /// + /// 3 public bool SupportSilence { get; internal set; } } -} \ No newline at end of file +} diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccuredEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccuredEventArgs.cs index 0ac7e15..c860cdd 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccuredEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ErrorOccuredEventArgs.cs @@ -23,6 +23,7 @@ namespace Tizen.Uix.Stt /// /// This class holds information related to the STT ErrorOccured Event /// + /// 3 public class ErrorOccuredEventArgs { private IntPtr _handle; @@ -158,6 +159,7 @@ namespace Tizen.Uix.Stt /// /// The Error Value /// + /// 3 public Error ErrorValue { get; @@ -167,10 +169,11 @@ namespace Tizen.Uix.Stt /// /// Gets the current error message. /// + /// 3 /// /// string error message /// - public string GetErrorMessage + public string ErrorMessage { get { @@ -187,4 +190,4 @@ namespace Tizen.Uix.Stt } } -} \ No newline at end of file +} diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ExceptionFactory.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ExceptionFactory.cs index b1d07fc..5b59574 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ExceptionFactory.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ExceptionFactory.cs @@ -30,7 +30,7 @@ namespace Tizen.Uix.Stt { case SttError.OutOfMemory: { - exp = new InvalidOperationException("Out Of Memory"); + exp = new OutOfMemoryException("Out Of Memory"); break; } @@ -48,7 +48,7 @@ namespace Tizen.Uix.Stt case SttError.TimedOut: { - exp = new InvalidOperationException("No answer from the STT service"); + exp = new TimeoutException("No answer from the STT service"); break; } @@ -60,13 +60,13 @@ namespace Tizen.Uix.Stt case SttError.PermissionDenied: { - exp = new InvalidOperationException("Permission Denied"); + exp = new UnauthorizedAccessException("Permission Denied"); break; } case SttError.NotSupported: { - exp = new InvalidOperationException("STT NOT supported"); + exp = new NotSupportedException("STT NOT supported"); break; } diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs index b30c70c..2618585 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/RecognitionResultEventArgs.cs @@ -26,6 +26,7 @@ namespace Tizen.Uix.Stt /// /// The recognition result from the engine. /// + /// 3 public class RecognitionResultEventArgs { private ResultEvent _result; @@ -100,6 +101,7 @@ namespace Tizen.Uix.Stt /// /// The result event /// + /// 3 public ResultEvent Result { get @@ -111,6 +113,7 @@ namespace Tizen.Uix.Stt /// /// Result texts. /// + /// 3 public IEnumerable Data { get @@ -122,6 +125,7 @@ namespace Tizen.Uix.Stt /// /// Returns the Result text count. /// + /// 3 public int DataCount { get @@ -133,6 +137,7 @@ namespace Tizen.Uix.Stt /// /// Engine message /// + /// 3 public ResultMessage Message { get diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs index d58e9c5..ecf0b91 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/ResultTime.cs @@ -22,6 +22,7 @@ namespace Tizen.Uix.Stt /// /// This Class represents the result of recognition result from the engine. /// + /// 3 public class ResultTime { internal ResultTime(int index, TimeEvent e, string text, long startTime, long endTime) @@ -36,6 +37,7 @@ namespace Tizen.Uix.Stt /// /// The result index /// + /// 3 public int Index { get; @@ -45,6 +47,7 @@ namespace Tizen.Uix.Stt /// /// The token event /// + /// 3 public TimeEvent TokenEvent { get; @@ -54,6 +57,7 @@ namespace Tizen.Uix.Stt /// /// The result text /// + /// 3 public string Text { get; @@ -63,6 +67,7 @@ namespace Tizen.Uix.Stt /// /// The start time of result text /// + /// 3 public long StartTime { get; @@ -72,6 +77,7 @@ namespace Tizen.Uix.Stt /// /// The end time of result text /// + /// 3 public long EndTime { get; diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs index afe4d89..eb55c4c 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/StateChangedEventArgs.cs @@ -20,6 +20,7 @@ namespace Tizen.Uix.Stt /// /// This class holds information related to the STT StateChanged event /// + /// 3 public class StateChangedEventArgs { internal StateChangedEventArgs(State previous, State current) @@ -31,6 +32,7 @@ namespace Tizen.Uix.Stt /// /// A previous state /// + /// 3 public State Previous { get; @@ -39,6 +41,7 @@ namespace Tizen.Uix.Stt /// /// A current state /// + /// 3 public State Current { get; diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs index cff37e9..4e52840 100644 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs @@ -25,233 +25,286 @@ namespace Tizen.Uix.Stt /// /// The token event /// + /// 3 public enum ResultEvent { /// /// Event when the recognition full or last result is ready /// + /// 3 FinalResult = 0, /// /// Event when the recognition partial result is ready /// + /// 3 PartialResult, /// /// Event when the recognition has failed /// + /// 3 Error }; /// /// Enumeration representing the result message /// + /// 3 public enum ResultMessage { /// /// No Error /// + /// 3 None, /// /// Recognition failed because the speech started too soon. /// + /// 3 TooSoon, /// /// Recognition failed because the speech is too short. /// + /// 3 TooShort, /// /// Recognition failed because the speech is too long. /// + /// 3 TooLong, /// /// Recognition failed because the speech is too quiet to listen. /// + /// 3 TooQuiet, /// /// Recognition failed because the speech is too loud to listen. /// + /// 3 TooLoud, /// /// Recognition failed because the speech is too fast to listen. /// + /// 3 TooFast }; /// /// Enumeration for the Token type /// + /// 3 public enum TimeEvent { /// /// Event when the token is beginning type /// + /// 3 Beginning = 0, /// /// Event when the token is middle type /// + /// 3 Middle = 1, /// /// Event when the token is end type /// + /// 3 End = 2 }; /// /// Enum for Error values that can occur /// + /// 3 public enum Error { /// /// Successful, No error /// + /// 3 None, /// /// Out of Memory /// + /// 3 OutOfMemory, /// /// I/O error /// + /// 3 IoError, /// /// Invalid parameter /// + /// 3 InvalidParameter, /// /// No answer from the STT service /// + /// 3 TimedOut, /// /// Device or resource busy /// + /// 3 RecorderBusy, /// /// Network is down /// + /// 3 OutOfNetwork, /// /// Permission denied /// + /// 3 PermissionDenied, /// /// STT NOT supported /// + /// 3 NotSupported, /// /// Invalid state /// + /// 3 InvalidState, /// /// Invalid language /// + /// 3 InvalidLanguage, /// /// No available engine /// + /// 3 EngineNotFound, /// /// Operation failed /// + /// 3 OperationFailed, /// /// Not supported feature of current engine /// + /// 3 NotSupportedFeature, /// /// Recording timed out /// + /// 3 RecordingTimedOut, /// /// No speech while recording /// + /// 3 NoSpeech, /// /// Progress to ready is not finished /// + /// 3 InProgressToReady, /// /// Progress to recording is not finished /// + /// 3 InProgressToRecording, /// /// Progress to processing is not finished /// + /// 3 InProgressToProcessing, /// /// Service reset /// + /// 3 ServiceReset }; /// /// Enumeration for Recognition Types /// + /// 3 public enum RecognitionType { /// /// Free form dictation /// + /// 3 Free, /// /// Continuous free dictation. /// + /// 3 Partial, /// /// Search /// + /// 3 Search, /// /// Web Search /// + /// 3 WebSearch, /// /// Map /// + /// 3 Map }; /// /// Enumeration for the State types /// + /// 3 public enum State { /// /// Created state /// + /// 3 Created = 0, /// /// Ready state /// + /// 3 Ready = 1, /// /// Recording state /// + /// 3 Recording = 2, /// /// Processing state /// + /// 3 Processing = 3, /// /// Unavailable /// + /// 3 Unavailable }; /// /// Enumeration for the Silence Detection types /// + /// 3 public enum SilenceDetection { /// /// Silence detection type - False /// + /// 3 False = 0, /// /// Silence detection type - True /// + /// 3 True = 1, /// /// Silence detection type - Auto /// + /// 3 Auto = 2 }; @@ -263,6 +316,7 @@ namespace Tizen.Uix.Stt /// 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. /// + /// 3 public class SttClient : IDisposable { private IntPtr _handle; @@ -284,6 +338,7 @@ namespace Tizen.Uix.Stt /// /// Constructor to create a STT instance. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -291,13 +346,10 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reaons - /// 1. Out Of Memory - /// 2. Operation Failed - /// 3. STT Not Supported - /// 4. 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; @@ -314,6 +366,7 @@ namespace Tizen.Uix.Stt /// /// Event to be invoked when the recognition is done. /// + /// 3 public event EventHandler RecognitionResult { add @@ -363,6 +416,7 @@ namespace Tizen.Uix.Stt /// /// Event to be invoked when STT state changes. /// + /// 3 public event EventHandler StateChanged { add @@ -407,6 +461,7 @@ namespace Tizen.Uix.Stt /// /// Event to be invoked when an error occurs. /// + /// 3 public event EventHandler ErrorOccured { add @@ -450,6 +505,7 @@ namespace Tizen.Uix.Stt /// /// Event to be invoked when default laungage change. /// + /// 3 public event EventHandler DefaultLanguageChanged { add @@ -496,6 +552,7 @@ namespace Tizen.Uix.Stt /// /// Event to be invoked to detect engine change. /// + /// 3 public event EventHandler EngineChanged { add @@ -541,6 +598,7 @@ namespace Tizen.Uix.Stt /// 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. /// + /// 3 /// /// Default language in STT. /// @@ -550,7 +608,7 @@ namespace Tizen.Uix.Stt /// /// Default Lanaguage string value. /// - public string GetDefaultLanguage + public string DefaultLanguage { get { @@ -572,6 +630,7 @@ namespace Tizen.Uix.Stt /// /// Gets the microphone volume during recording. /// + /// 3 /// /// Recording volume in STT. /// @@ -581,7 +640,7 @@ namespace Tizen.Uix.Stt ///
         /// The State must be Recording.
         /// 
- public float GetRecordingVolume + public float RecordingVolume { get { @@ -605,6 +664,7 @@ namespace Tizen.Uix.Stt /// /// Gets the current STT state. /// + /// 3 /// /// Current state of STT. /// @@ -614,7 +674,7 @@ namespace Tizen.Uix.Stt /// /// Current STT State value. /// - public State GetState + public State CurrentState { get { @@ -637,6 +697,7 @@ namespace Tizen.Uix.Stt /// /// This property can be used to get and set the current engine id. /// + /// 3 /// /// Current STT engine id. /// @@ -645,15 +706,13 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can occur while setting due to the following reaons - /// 1. Out Of Memory - /// 2. Operation Failed - /// 3. STT Not Supported - /// 4. Permission Denied - /// 5. Invalid State - /// - /// - /// This can happen if Improper EngineId is provided while setting the value. + /// 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. ///
         /// The State must be Created.
         /// 
@@ -692,6 +751,7 @@ namespace Tizen.Uix.Stt /// /// Retrieves the time stamp of the current recognition result /// + /// 3 /// /// list of ResultTime /// @@ -705,12 +765,9 @@ namespace Tizen.Uix.Stt /// /// This function should only be called in RecognitionResult Event /// - /// - /// This Exception can be due to the following reaons - /// 1. Opearation Failed. - /// 2. STT Not Supported - /// 3. Permission Denied. - /// + /// This Exception can be due to Opearation 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(); @@ -733,6 +790,7 @@ namespace Tizen.Uix.Stt /// /// Gets the private data from stt engine. /// + /// 3 /// /// The key string /// @@ -746,12 +804,9 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reaons - /// 1. No Answer from STT Service - /// 2. STT Not Supported - /// 3. Invalid State - /// + /// 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.
         /// 
@@ -774,6 +829,7 @@ namespace Tizen.Uix.Stt /// /// Sets the private data to stt engine. /// + /// 3 /// /// The key string /// @@ -787,15 +843,10 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reaons - /// 1. No Answer from STT Service - /// 2. STT Not Supported - /// 3. Invalid State - /// - /// - /// This can happen if Improper value is provided while setting the value. - /// + /// 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.
         /// 
@@ -815,6 +866,7 @@ namespace Tizen.Uix.Stt /// /// Gets the list of Supported Engine /// + /// 3 /// /// IEnumerable list of supported engines /// @@ -825,13 +877,10 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reaons - /// 1. Out Of Memory - /// 2. Operation Failed - /// 3. STT Not Supported - /// 4. 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(); @@ -859,6 +908,7 @@ namespace Tizen.Uix.Stt /// /// Sets the app credential /// + /// 3 /// /// The credential string /// @@ -871,15 +921,13 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reaons - /// 1. Out Of Memory - /// 2. Operation Failed - /// 3. STT Not Supported - /// 4. Permission Denied - /// 5. Invalid State - /// - /// - /// This can happen if Improper value is provided while setting the value. + /// 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 value is provided while setting the value. ///
         /// The State must be Created.
         /// 
@@ -899,6 +947,7 @@ namespace Tizen.Uix.Stt /// /// Connects to the STT service asynchronously. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -906,12 +955,9 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reasons - /// 1. STT Not Supported - /// 2. Permission Denied - /// 3. Invalid State - /// + /// 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.
         /// 
@@ -935,6 +981,7 @@ namespace Tizen.Uix.Stt /// /// Disconnects from the STT service. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -942,12 +989,9 @@ namespace Tizen.Uix.Stt /// http://tizen.org/feature/speech.recognition /// http://tizen.org/feature/microphone /// - /// - /// This Exception can be due to the following reasons - /// 1. STT Not Supported - /// 2. Permission Denied - /// 3. Invalid State - /// + /// 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.
         /// 
@@ -972,6 +1016,7 @@ namespace Tizen.Uix.Stt /// 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. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -984,11 +1029,11 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported - /// 2. Permission Denied - /// 3. Engine Not Found. - /// 4. Operation Failed. + /// 1. Engine Not Found. + /// 2. Operation Failed. /// + /// This Exception can be due to STT Not Supported. + /// This Exception can be due to Permission Denied. public IEnumerable GetSupportedLangauages() { List languageList = new List(); @@ -1015,6 +1060,7 @@ namespace Tizen.Uix.Stt /// /// Checks whether the recognition type is supported. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1030,11 +1076,11 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported - /// 2. Invalid State - /// 3. Engine Not Found. - /// 4. Operation Failed. + /// 1. Invalid State + /// 2. Engine Not Found. + /// 3. Operation Failed. /// + /// This Exception can be due to STT Not Supported. ///
         /// The state should be Ready.
         /// 
@@ -1093,6 +1139,7 @@ namespace Tizen.Uix.Stt /// /// Sets the silence detection. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1105,11 +1152,11 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported - /// 2. Invalid State - /// 3. Not supported feature of current engine. - /// 4. Operation Failed. + /// 1. Invalid State + /// 2. Not supported feature of current engine. + /// 3. Operation Failed. /// + /// This Exception can be due to STT Not Supported. ///
         /// The state should be Ready.
         /// 
@@ -1130,6 +1177,7 @@ namespace Tizen.Uix.Stt /// Sets the sound to start recording. /// Sound file type should be wav type. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1142,14 +1190,12 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. - /// - /// - /// If an Invalid Parameter is provided. + /// 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. ///
         /// The state should be Ready.
         /// 
@@ -1169,6 +1215,7 @@ namespace Tizen.Uix.Stt /// /// Unsets the sound to start recording. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1178,11 +1225,11 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. + /// 1. Invalid State. + /// 2. Operation Failed. /// + /// This Exception can be due to STT Not Supported. + /// This Exception can be due to Permission Denied. ///
         /// The state should be Ready.
         /// 
@@ -1203,6 +1250,7 @@ namespace Tizen.Uix.Stt /// Sets the sound to stop recording. /// Sound file type should be wav type. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1215,14 +1263,12 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. - /// - /// - /// If an Invalid Parameter is provided. + /// 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. ///
         /// The state should be Ready.
         /// 
@@ -1242,6 +1288,7 @@ namespace Tizen.Uix.Stt /// /// Unsets the sound to stop recording. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1251,11 +1298,11 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. + /// 1. Invalid State. + /// 2. Operation Failed. /// + /// This Exception can be due to STT Not Supported. + /// This Exception can be due to Permission Denied. ///
         /// The state should be Ready.
         /// 
@@ -1277,6 +1324,7 @@ namespace Tizen.Uix.Stt /// 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 /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1292,16 +1340,14 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. - /// 5. Recorder Busy. - /// 6. Progress to recording is not finished - /// - /// - /// If an Invalid Language is provided + /// 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. ///
         /// The state should be Ready.
         /// 
@@ -1361,6 +1407,7 @@ namespace Tizen.Uix.Stt /// /// Finishes the recording and starts recognition processing in engine asynchronously. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1370,14 +1417,14 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. - /// 5. Progress to ready is not finished. - /// 6. Progress to recording is not finished. - /// 7. Progress to processing is not finished. + /// 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. ///
         /// The state should be Recording.
         /// 
@@ -1405,6 +1452,7 @@ namespace Tizen.Uix.Stt /// This function cancels recording and engine cancels recognition processing. /// After successful cancel, StateChanged event is invoked otherwise if error is occurred, ErrorOccured event is invoked. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -1414,14 +1462,14 @@ namespace Tizen.Uix.Stt /// /// /// This Exception can be due to the following reasons - /// 1. STT Not Supported. - /// 2. Permission Denied. - /// 3. Invalid State. - /// 4. Operation Failed. - /// 5. Progress to ready is not finished. - /// 6. Progress to recording is not finished. - /// 7. Progress to processing is not finished. + /// 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. ///
         /// The state should be Recording or Processing.
         /// 
diff --git a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs index 3d0050f..d2129e8 100755 --- a/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs +++ b/src/Tizen.Uix.Stt/Tizen.Uix.Stt/SupportedEngine.cs @@ -20,6 +20,7 @@ namespace Tizen.Uix.Stt /// /// This Class provideds the Information related to STT Engine. /// + /// 3 public class SupportedEngine { private string _engineId; @@ -33,6 +34,7 @@ namespace Tizen.Uix.Stt /// /// The Engine Id /// + /// 3 /// /// The string Engine Id /// @@ -47,6 +49,7 @@ namespace Tizen.Uix.Stt /// /// The Engine Name /// + /// 3 /// /// The string Engine Name ///