From 3b600ba7c903283a4b9b5ec1d5ea08bfb81a19e0 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Mon, 29 May 2017 11:07:28 +0900 Subject: [PATCH] Fix API reference Change-Id: I86f3f844c7ec514527b514293618fa32df14b852 Signed-off-by: sooyeon.kim --- Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs | 186 ++++++++++++++++++++++++------- 1 file changed, 144 insertions(+), 42 deletions(-) diff --git a/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs b/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs index aa93753..cff37e9 100644 --- a/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs +++ b/Tizen.Uix.Stt/Tizen.Uix.Stt/SttClient.cs @@ -287,6 +287,10 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reaons /// 1. Out Of Memory @@ -537,6 +541,9 @@ 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. /// + /// + /// Default language in STT. + /// /// /// http://tizen.org/privilege/recorder /// @@ -565,12 +572,15 @@ namespace Tizen.Uix.Stt /// /// Gets the microphone volume during recording. /// + /// + /// Recording volume in STT. + /// /// /// http://tizen.org/privilege/recorder /// - /// + ///
         /// The State must be Recording.
-        /// 
+        /// 
public float GetRecordingVolume { get @@ -595,6 +605,9 @@ namespace Tizen.Uix.Stt /// /// Gets the current STT state. /// + /// + /// Current state of STT. + /// /// /// http://tizen.org/privilege/recorder /// @@ -624,6 +637,12 @@ namespace Tizen.Uix.Stt /// /// This property can be used to get and set the current engine id. /// + /// + /// Current STT engine id. + /// + /// + /// http://tizen.org/privilege/recorder + /// /// /// This Exception can occur while setting due to the following reaons /// 1. Out Of Memory @@ -635,9 +654,9 @@ namespace Tizen.Uix.Stt /// /// This can happen if Improper EngineId is provided while setting the value. /// - /// + ///
         /// The State must be Created.
-        /// 
+        /// 
public string Engine { get @@ -676,6 +695,13 @@ namespace Tizen.Uix.Stt /// /// list of ResultTime /// + /// + /// http://tizen.org/privilege/recorder + /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This function should only be called in RecognitionResult Event /// @@ -713,15 +739,22 @@ namespace Tizen.Uix.Stt /// /// The Data Corresponding to the Key provided /// + /// + /// http://tizen.org/privilege/recorder + /// + /// + /// 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 /// - /// + ///
         /// The State must be Ready.
-        /// 
+        /// 
public string GetPrivateData(string key) { string data; @@ -747,6 +780,13 @@ namespace Tizen.Uix.Stt /// /// The data string /// + /// + /// http://tizen.org/privilege/recorder + /// + /// + /// 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 @@ -756,9 +796,9 @@ namespace Tizen.Uix.Stt /// /// This can happen if Improper value is provided while setting the value. /// - /// + ///
         /// The State must be Ready.
-        /// 
+        /// 
public void SetPrivateData(string key, string data) { lock (thisLock) @@ -778,6 +818,13 @@ namespace Tizen.Uix.Stt /// /// IEnumerable list of supported engines /// + /// + /// http://tizen.org/privilege/recorder + /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reaons /// 1. Out Of Memory @@ -815,6 +862,13 @@ namespace Tizen.Uix.Stt /// /// The credential string /// + /// + /// http://tizen.org/privilege/recorder + /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reaons /// 1. Out Of Memory @@ -826,9 +880,9 @@ namespace Tizen.Uix.Stt /// /// This can happen if Improper value is provided while setting the value. /// - /// + ///
         /// The State must be Created.
-        /// 
+        /// 
public void SetCredential(string credential) { lock (thisLock) @@ -848,19 +902,23 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// 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 /// - /// + ///
         /// The State must be Created.
-        /// 
-        /// 
+        /// 
+ /// /// If this function is successful, the STT state will be Ready /// If this function is unsuccessful, ErrorOccured event will be invoked - /// + /// public void Prepare() { lock (thisLock) @@ -880,18 +938,22 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// 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 /// - /// + ///
         /// The State must be Ready.
-        /// 
-        /// 
+        /// 
+ /// /// If this function is successful, the STT state will be Created - /// + /// public void Unprepare() { lock (thisLock) @@ -916,6 +978,10 @@ namespace Tizen.Uix.Stt /// /// list of strings of supported languages. /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported @@ -958,6 +1024,10 @@ namespace Tizen.Uix.Stt /// /// 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 /// 1. STT Not Supported @@ -965,9 +1035,9 @@ namespace Tizen.Uix.Stt /// 3. Engine Not Found. /// 4. Operation Failed. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public bool IsRecognitionTypeSupported(RecognitionType type) { bool supported; @@ -1029,6 +1099,10 @@ namespace Tizen.Uix.Stt /// /// SilenceDetection value. /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported @@ -1036,9 +1110,9 @@ namespace Tizen.Uix.Stt /// 3. Not supported feature of current engine. /// 4. Operation Failed. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public void SetSilenceDetection(SilenceDetection type) { lock (thisLock) @@ -1062,6 +1136,10 @@ namespace Tizen.Uix.Stt /// /// 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. STT Not Supported. @@ -1072,9 +1150,9 @@ namespace Tizen.Uix.Stt /// /// If an Invalid Parameter is provided. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public void SetStartSound(string filePath) { lock (thisLock) @@ -1094,6 +1172,10 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported. @@ -1101,9 +1183,9 @@ namespace Tizen.Uix.Stt /// 3. Invalid State. /// 4. Operation Failed. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public void UnsetStartSound() { lock (thisLock) @@ -1127,6 +1209,10 @@ namespace Tizen.Uix.Stt /// /// 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. STT Not Supported. @@ -1137,9 +1223,9 @@ namespace Tizen.Uix.Stt /// /// If an Invalid Parameter is provided. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public void SetStopSound(string filePath) { lock (thisLock) @@ -1159,6 +1245,10 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported. @@ -1166,9 +1256,9 @@ namespace Tizen.Uix.Stt /// 3. Invalid State. /// 4. Operation Failed. /// - /// + ///
         /// The state should be Ready.
-        /// 
+        /// 
public void UnsetStopSound() { lock (thisLock) @@ -1196,6 +1286,10 @@ namespace Tizen.Uix.Stt /// /// 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. STT Not Supported. @@ -1208,14 +1302,14 @@ namespace Tizen.Uix.Stt /// /// If an Invalid Language is provided /// - /// + ///
         /// The state should be Ready.
-        /// 
-        /// 
+        /// 
+ /// /// It will invoke StateChanged Event if registerd. /// If this function succeeds, the STT state will be Recording. /// If you call this function again before state changes, you will receive ErrorINProgressToRecording. - /// + /// public void Start(string language, RecognitionType type) { lock (thisLock) @@ -1270,6 +1364,10 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported. @@ -1280,15 +1378,15 @@ namespace Tizen.Uix.Stt /// 6. Progress to recording is not finished. /// 7. Progress to processing is not finished. /// - /// + ///
         /// The state should be Recording.
-        /// 
-        /// 
+        /// 
+ /// /// It will invoke StateChanged Event if registerd. /// 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 - /// + /// public void Stop() { lock (thisLock) @@ -1310,6 +1408,10 @@ namespace Tizen.Uix.Stt /// /// http://tizen.org/privilege/recorder /// + /// + /// http://tizen.org/feature/speech.recognition + /// http://tizen.org/feature/microphone + /// /// /// This Exception can be due to the following reasons /// 1. STT Not Supported. @@ -1320,14 +1422,14 @@ namespace Tizen.Uix.Stt /// 6. Progress to recording is not finished. /// 7. Progress to processing is not finished. /// - /// + ///
         /// The state should be Recording or Processing.
-        /// 
-        /// 
+        /// 
+ /// /// It will invoke StateChanged Event if registerd. /// If this function succeeds, the STT state will be Ready. /// If you call this function again before state changes, you will receive ErrorINProgressToReady. - /// + /// public void Cancel() { lock (thisLock) -- 2.7.4