From 39a75a40b0b74c93176677884d69a889ff71f226 Mon Sep 17 00:00:00 2001 From: "sooyeon.kim" Date: Mon, 3 Jul 2017 21:42:47 +0900 Subject: [PATCH] Add API level Change-Id: Ic8308b45035160501e198b8696f0faf58cf5e3f1 Signed-off-by: sooyeon.kim --- .../CurrentLanguageChangedEventArgs.cs | 5 ++++- .../ErrorOccuredEventArgs.cs | 4 +++- .../Tizen.Uix.VoiceControl/RecognitionResult.cs | 4 ++++ .../RecognitionResultEventArgs.cs | 2 ++ .../ServiceStateChangedEventArgs.cs | 3 +++ .../StateChangedEventArgs.cs | 3 +++ .../Tizen.Uix.VoiceControl/VoiceCommand.cs | 7 ++++++ .../Tizen.Uix.VoiceControl/VoiceCommandList.cs | 11 +++++++++ .../Tizen.Uix.VoiceControl/VoiceControlClient.cs | 26 ++++++++++++++++++++++ 9 files changed, 63 insertions(+), 2 deletions(-) diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs index cea37a9..8ab933d 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/CurrentLanguageChangedEventArgs.cs @@ -19,6 +19,7 @@ namespace Tizen.Uix.VoiceControl /// /// This class holds information about the CurrentLanguageChanged Event /// + /// 3 public class CurrentLanguageChangedEventArgs { internal CurrentLanguageChangedEventArgs(string previous, string current) @@ -30,6 +31,7 @@ namespace Tizen.Uix.VoiceControl /// /// The previous language /// + /// 3 public string PreviousLanguage { get; @@ -39,10 +41,11 @@ namespace Tizen.Uix.VoiceControl /// /// The current language /// + /// 3 public string CurrentLanguage { get; internal set; } } -} \ No newline at end of file +} diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs index f55df8d..ce5de7b 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ErrorOccuredEventArgs.cs @@ -22,6 +22,7 @@ namespace Tizen.Uix.VoiceControl /// /// This class holds information related to the VoiceControl ErrorOccured Event /// + /// 3 public class ErrorOccuredEventArgs { internal ErrorOccuredEventArgs(ErrorCode error) @@ -147,10 +148,11 @@ namespace Tizen.Uix.VoiceControl /// /// The Error Value /// + /// 3 public Error ErrorValue { get; internal set; } } -} \ No newline at end of file +} diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs index 99469e9..d3e3103 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResult.cs @@ -27,6 +27,7 @@ namespace Tizen.Uix.VoiceControl /// 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. /// + /// 3 public class RecognitionResult { private ResultEvent _resultEvent; @@ -45,6 +46,7 @@ namespace Tizen.Uix.VoiceControl /// /// The result event /// + /// 3 public ResultEvent Result { get @@ -56,6 +58,7 @@ namespace Tizen.Uix.VoiceControl /// /// The spoken text /// + /// 3 public string ResultMessage { get @@ -68,6 +71,7 @@ namespace Tizen.Uix.VoiceControl /// /// The recognized command list /// + /// 3 public VoiceCommandList CommandList { get diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs index e81bde5..c3fc3dc 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/RecognitionResultEventArgs.cs @@ -21,6 +21,7 @@ namespace Tizen.Uix.VoiceControl /// /// The recognition result from the engine. /// + /// 3 public class RecognitionResultEventArgs : EventArgs { private RecognitionResult _result; @@ -32,6 +33,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets the Recognition result /// + /// 3 public RecognitionResult Result { get diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs index 6d1bef9..077c623 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/ServiceStateChangedEventArgs.cs @@ -19,6 +19,7 @@ namespace Tizen.Uix.VoiceControl /// /// This class holds information related to the VoiceControl service ServiceStateChanged event /// + /// 3 public class ServiceStateChangedEventArgs { internal ServiceStateChangedEventArgs(ServiceState previous, ServiceState current) @@ -30,6 +31,7 @@ namespace Tizen.Uix.VoiceControl /// /// A previous state /// + /// 3 public ServiceState Previous { get; @@ -39,6 +41,7 @@ namespace Tizen.Uix.VoiceControl /// /// A current state /// + /// 3 public ServiceState Current { get; diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs index 8241a7a..d69e2fe 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/StateChangedEventArgs.cs @@ -19,6 +19,7 @@ namespace Tizen.Uix.VoiceControl /// /// This class holds information related to the VoiceControl client StateChanged event /// + /// 3 public class StateChangedEventArgs { internal StateChangedEventArgs(State previous, State current) @@ -30,6 +31,7 @@ namespace Tizen.Uix.VoiceControl /// /// A previous state /// + /// 3 public State Previous { get; @@ -39,6 +41,7 @@ namespace Tizen.Uix.VoiceControl /// /// A current state /// + /// 3 public State Current { get; diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs index 53a9a23..b6be557 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommand.cs @@ -23,6 +23,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enumeration for Command Format /// + /// 3 public enum CommandFormat { /// @@ -54,6 +55,7 @@ namespace Tizen.Uix.VoiceControl /// /// This class represents a Voice Command /// + /// 3 public class VoiceCommand { internal SafeCommandHandle _handle; @@ -61,6 +63,7 @@ namespace Tizen.Uix.VoiceControl /// /// 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. @@ -87,6 +90,7 @@ namespace Tizen.Uix.VoiceControl /// This property should be used for commands which have non-fixed format. /// empty string will be returned in case of some internal error /// + /// 3 public string UnfixedCommand { get @@ -106,6 +110,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets/Sets 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. @@ -142,6 +147,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets/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. @@ -173,6 +179,7 @@ namespace Tizen.Uix.VoiceControl /// Gets/Sets command /// in case of 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. public string Command diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs index c8bae3c..f3b962f 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceCommandList.cs @@ -24,6 +24,7 @@ namespace Tizen.Uix.VoiceControl /// /// this class represents list of Voice Commands /// + /// 3 public class VoiceCommandList { internal SafeCommandListHandle _handle; @@ -33,6 +34,7 @@ namespace Tizen.Uix.VoiceControl /// /// Public Constructor /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -68,6 +70,7 @@ namespace Tizen.Uix.VoiceControl /// Gets command count of list. /// -1 is returned in case of internal failure. /// + /// 3 /// /// Command counts of the list. /// @@ -97,6 +100,7 @@ namespace Tizen.Uix.VoiceControl /// Get current command from command list by index. /// null will be returned in case of Empty List /// + /// 3 /// /// Current command from the command list. /// @@ -125,6 +129,7 @@ namespace Tizen.Uix.VoiceControl /// /// Adds command to command list. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -152,6 +157,7 @@ namespace Tizen.Uix.VoiceControl /// /// Removes command from command list. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -179,6 +185,7 @@ namespace Tizen.Uix.VoiceControl /// /// Retrieves all commands of command list. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -214,6 +221,7 @@ namespace Tizen.Uix.VoiceControl /// /// Moves index to first command. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -240,6 +248,7 @@ namespace Tizen.Uix.VoiceControl /// /// Moves index to last command. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -266,6 +275,7 @@ namespace Tizen.Uix.VoiceControl /// /// Moves index to next command. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -296,6 +306,7 @@ namespace Tizen.Uix.VoiceControl /// /// Moves index to previous command. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// diff --git a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs index e7ea9f5..4b8638d 100755 --- a/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs +++ b/Tizen.Uix.VoiceControl/Tizen.Uix.VoiceControl/VoiceControlClient.cs @@ -25,6 +25,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enum for Error values that can occur /// + /// 3 public enum Error { /// @@ -108,6 +109,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enumeration for the client state. /// + /// 3 public enum State { /// @@ -131,6 +133,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enumerations of service state. /// + /// 3 public enum ServiceState { /// @@ -158,6 +161,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enumerations of result event. /// + /// 3 public enum ResultEvent { /// @@ -173,6 +177,7 @@ namespace Tizen.Uix.VoiceControl /// /// Enumerations of command type. /// + /// 3 public enum CommandType { /// @@ -193,11 +198,13 @@ namespace Tizen.Uix.VoiceControl /// 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. /// + /// 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. @@ -228,6 +235,7 @@ namespace Tizen.Uix.VoiceControl /// For example, "ko_KR" for Korean, "en_US" for American English. /// Empty string is returned incase of some internal error /// + /// 3 /// /// Current language in voice control. /// @@ -257,6 +265,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets current state of voice control client. /// + /// 3 /// /// Current state of voice control client. /// @@ -286,6 +295,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets current state of voice control service. /// + /// 3 /// /// Current state of voice control service. /// @@ -315,6 +325,7 @@ namespace Tizen.Uix.VoiceControl /// /// Sets the invocation name. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -354,6 +365,7 @@ namespace Tizen.Uix.VoiceControl /// /// Initializes voice control. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -384,6 +396,7 @@ namespace Tizen.Uix.VoiceControl /// /// Deinitializes voice control. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -411,6 +424,7 @@ namespace Tizen.Uix.VoiceControl /// /// Connects the voice control service. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -444,6 +458,7 @@ namespace Tizen.Uix.VoiceControl /// /// Disconnects the voice control service. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -479,6 +494,7 @@ namespace Tizen.Uix.VoiceControl /// 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 /// @@ -518,6 +534,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets the system command list. /// + /// 3 /// /// The Command List else null in case of no System Commands /// @@ -570,6 +587,7 @@ namespace Tizen.Uix.VoiceControl /// 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. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -606,6 +624,7 @@ namespace Tizen.Uix.VoiceControl /// /// Sets command list. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -650,6 +669,7 @@ namespace Tizen.Uix.VoiceControl /// /// Unsets command list. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -692,6 +712,7 @@ namespace Tizen.Uix.VoiceControl /// /// Gets the recognition result. /// + /// 3 /// /// http://tizen.org/privilege/recorder /// @@ -729,6 +750,7 @@ namespace Tizen.Uix.VoiceControl /// /// Event to be invoked when the recognition is done. /// + /// 3 ///
         /// The State should be Initialized
         /// 
@@ -775,6 +797,7 @@ namespace Tizen.Uix.VoiceControl /// /// Event to be invoked when VoiceControl service state changes. /// + /// 3 ///
         /// The State should be Initialized
         /// 
@@ -813,6 +836,7 @@ namespace Tizen.Uix.VoiceControl /// /// Event to be invoked when VoiceControl client state changes. /// + /// 3 ///
         /// The State should be Initialized
         /// 
@@ -851,6 +875,7 @@ namespace Tizen.Uix.VoiceControl /// /// Event to be invoked when an error occurs. /// + /// 3 ///
         /// The State should be Initialized
         /// 
@@ -891,6 +916,7 @@ namespace Tizen.Uix.VoiceControl /// /// Event to be invoked when default laungage change. /// + /// 3 ///
         /// The State should be Initialized
         /// 
-- 2.7.4