From: sooyeon.kim Date: Mon, 10 Jul 2017 09:49:05 +0000 (+0900) Subject: Fix errata X-Git-Tag: submit/trunk/20170823.075128~70^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6a7c34ec4914309be40715fd4080ac64b14828c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix errata Change-Id: Ia4b3a5724eed8b35d6d2c4de2642575cf7d53f27 Signed-off-by: sooyeon.kim --- diff --git a/src/Tizen.Uix.Tts/Tizen.Uix.Tts.csproj b/src/Tizen.Uix.Tts/Tizen.Uix.Tts.csproj index 9d29a93..f14d331 100644 --- a/src/Tizen.Uix.Tts/Tizen.Uix.Tts.csproj +++ b/src/Tizen.Uix.Tts/Tizen.Uix.Tts.csproj @@ -1,7 +1,7 @@  - 1.0.2 + 1.0.3 Samsung Electronics © Samsung Electronics Co., Ltd All Rights Reserved TTS Uix API for Tizen .NET diff --git a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccuredEventArgs.cs b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccurredEventArgs.cs similarity index 96% rename from src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccuredEventArgs.cs rename to src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccurredEventArgs.cs index dd173dc..09bcb67 100755 --- a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccuredEventArgs.cs +++ b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ErrorOccurredEventArgs.cs @@ -21,14 +21,14 @@ using static Interop.Tts; namespace Tizen.Uix.Tts { /// - /// This class holds information related to the TTS ErrorOccured Event + /// This class holds information related to the TTS ErrorOccurred Event /// /// 3 - public class ErrorOccuredEventArgs + public class ErrorOccurredEventArgs { private IntPtr _handle; - internal ErrorOccuredEventArgs(IntPtr handle, int utteranceId, Interop.Tts.TtsError error) + internal ErrorOccurredEventArgs(IntPtr handle, int utteranceId, Interop.Tts.TtsError error) { this._handle = handle; this.UtteranceId = utteranceId; diff --git a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ExceptionFactory.cs b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ExceptionFactory.cs index a29d9dd..a471f7d 100755 --- a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ExceptionFactory.cs +++ b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/ExceptionFactory.cs @@ -36,7 +36,7 @@ namespace Tizen.Uix.Tts case TtsError.IoError: { - exp = new InvalidOperationException("I/O Error Occured"); + exp = new InvalidOperationException("I/O Error Occurred"); break; } diff --git a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs index a8dedcc..87cfb12 100755 --- a/src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs +++ b/src/Tizen.Uix.Tts/Tizen.Uix.Tts/TtsClient.cs @@ -199,7 +199,7 @@ namespace Tizen.Uix.Tts private event EventHandler _stateChanged; private event EventHandler _utteranceStarted; private event EventHandler _utteranceCompleted; - private event EventHandler _errorOccured; + private event EventHandler _errorOccurred; private event EventHandler _defaultVoiceChanged; private event EventHandler _engineChanged; private bool disposedValue = false; @@ -220,7 +220,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Operation Failed /// 2. Engine Not Found /// @@ -371,7 +371,7 @@ namespace Tizen.Uix.Tts /// Event to be invoked when an error occurs. /// /// 3 - public event EventHandler ErrorOccured + public event EventHandler ErrorOccurred { add { @@ -379,18 +379,18 @@ namespace Tizen.Uix.Tts { _errorDelegate = (IntPtr handle, int uttId, TtsError reason, IntPtr userData) => { - ErrorOccuredEventArgs args = new ErrorOccuredEventArgs(handle, uttId, reason); - _errorOccured?.Invoke(this, args); + ErrorOccurredEventArgs args = new ErrorOccurredEventArgs(handle, uttId, reason); + _errorOccurred?.Invoke(this, args); }; TtsError error = TtsSetErrorCB(_handle, _errorDelegate, IntPtr.Zero); if (error != TtsError.None) { - Log.Error(LogTag, "Add ErrorOccured Failed with error " + error); + Log.Error(LogTag, "Add ErrorOccurred Failed with error " + error); } else { - _errorOccured += value; + _errorOccurred += value; } } } @@ -402,10 +402,10 @@ namespace Tizen.Uix.Tts TtsError error = TtsUnsetErrorCB(_handle); if (error != TtsError.None) { - Log.Error(LogTag, "Remove ErrorOccured Failed with error " + error); + Log.Error(LogTag, "Remove ErrorOccurred Failed with error " + error); } - _errorOccured -= value; + _errorOccurred -= value; } } } @@ -606,7 +606,7 @@ namespace Tizen.Uix.Tts /// The Mode value /// /// - /// This Exception can be due to the following reaons while setting the value + /// This Exception can be due to the following reasons while setting the value /// 1. Operation Failed /// 2. Engine Not Found /// @@ -691,7 +691,7 @@ namespace Tizen.Uix.Tts /// /// /// If this function is successful, the TTS state will be Ready - /// If this function is unsuccessful, ErrorOccured event will be invoked + /// If this function is unsuccessful, ErrorOccurred event will be invoked /// public void Prepare() { @@ -788,7 +788,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Engine Not found /// 3. Operation Failure @@ -828,7 +828,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Engine Not found /// 3. Operation Failure @@ -862,7 +862,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Operation Failure /// @@ -913,7 +913,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Operation Failure /// 3. Invalid Voice @@ -949,7 +949,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Operation Failure /// 3. Out of Network @@ -983,7 +983,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Operation Failure /// @@ -1016,7 +1016,7 @@ namespace Tizen.Uix.Tts /// http://tizen.org/feature/speech.synthesis /// /// - /// This Exception can be due to the following reaons + /// This Exception can be due to the following reasons /// 1. Invalid State /// 2. Operation Failure ///