Class VoiceControlManagerClient
Definition
- Namespace:
- Tizen.Uix.VoiceControlManager
- Assembly:
- Tizen.Uix.VoiceControlManager.dll
- API Level:
- 6
Voice Control Manager Class
C#Copypublic static class VoiceControlManagerClient
- Inheritance
-
System.ObjectVoiceControlManagerClient
Properties
AudioType
Sets or Gets the Audio In Type. The Values of the strings can be "VC_AUDIO_ID_BLUETOOTH" or "VC_AUDIO_ID_MSF"
Declaration
C#Copypublic static string AudioType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
CurrentLanguage
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. An empty string is returned in case of some internal error.
Declaration
C#Copypublic static string CurrentLanguage { get; }
Property Value
Type | Description |
---|---|
System.String | The current language in voice control. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized or ready.
Declaration
C#Copypublic static RecognitionModeType RecognitionMode { get; set; }
Property Value
Type | Description |
---|---|
RecognitionModeType |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
Declaration
C#Copypublic static float RecordingVolume { get; }
Property Value
Type | Description |
---|---|
Single |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The Service State must be Recording.
Declaration
C#Copypublic static ServiceState ServiceState { get; }
Property Value
Type | Description |
---|---|
ServiceState | The current state of the voice control service. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be ready.
Declaration
C#Copypublic static State State { get; }
Property Value
Type | Description |
---|---|
State | The current state of the voice control client. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized or ready.
Methods
Declaration
C#Copypublic static void Cancel()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. 3) This exception can be due to progress to ready is not finished. 4) This exception can be due to progress to recording is not finished. 5) This exception can be due to progress to processing is not finished. |
System.TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Recording or Processing.
Postcondition: The Service State will become Ready.
Declaration
C#Copypublic static void ClearCommands()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void Deinitialize()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Postcondition: The State will be None.
Declaration
C#Copypublic static void DisableCommandType(CommandType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CommandType | cmdType | Command Type |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
System.TimeoutException | This exception can be due to no answer from service. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void DoAction(SendEventType type, string sendEvent)
Parameters
Type | Name | Description |
---|---|---|
SendEventType | type | Event type |
System.String | sendEvent | The string for send event |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
Declaration
C#Copypublic static void EnableCommandType(CommandType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CommandType | cmdType | Command Type |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
System.TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static IEnumerable<VoiceCommand> GetCurrentCommands()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VoiceCommand> | The Command List else null in case of no System Commands |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static string GetPrivateData(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Private key |
Returns
Type | Description |
---|---|
System.String | Private data |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
GetSupportedLanguages()
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.
Declaration
C#Copypublic static IEnumerable<string> GetSupportedLanguages()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | List of strings for supported languages. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be ready or initialized.
Declaration
C#Copypublic static void Initialize()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to out of memory. 2) This exception can be due to operation failed. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Postcondition: The State will be Initialized.
Declaration
C#Copypublic static bool IsSupportedCommandFormat(CommandFormat format)
Parameters
Type | Name | Description |
---|---|---|
CommandFormat | format | The command format |
Returns
Type | Description |
---|---|
System.Boolean | The result status, true if supported |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
Declaration
C#Copypublic static void Prepare()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized.
Postcondition: The state must be ready.
SendSpecificEngineRequest(String, String, String)
Sends the specific engine request to the vc-service.
Declaration
C#Copypublic static void SendSpecificEngineRequest(string engineAppId, string evt, string request)
Parameters
Type | Name | Description |
---|---|---|
System.String | engineAppId | A specific engine's app id |
System.String | evt | A engine service user request event |
System.String | request | A engine service user request text |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Declaration
C#Copypublic static void SetCommands(VoiceCommandsGroup commands)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommandsGroup | commands | Command list |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void SetCommandsFromFile(string path, CommandType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | File Path |
CommandType | type | Command type |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void SetPrivateData(string key, string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | Private key |
System.String | data | Private data |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
SetPrivateDataProviderDelegate(VoiceControlManagerClient.PrivateDataProvider)
Sets the delegate for setting private data.
Declaration
C#Copypublic static void SetPrivateDataProviderDelegate(VoiceControlManagerClient.PrivateDataProvider privateDataDelegate)
Parameters
Type | Name | Description |
---|---|---|
VoiceControlManagerClient.PrivateDataProvider | privateDataDelegate | The delegate for setting private data |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
SetRecognizedCommandsSelectionDelegate(VoiceControlManagerClient.SelectRecognizedCommandsDelegate)
Sets the delegate for setting valid commands.
Declaration
C#Copypublic static void SetRecognizedCommandsSelectionDelegate(VoiceControlManagerClient.SelectRecognizedCommandsDelegate recognizedCommandsDelegate)
Parameters
Type | Name | Description |
---|---|---|
VoiceControlManagerClient.SelectRecognizedCommandsDelegate | recognizedCommandsDelegate | The delegate for setting valid commands. |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Declaration
C#Copypublic static void Start(bool exclusiveCommandOption)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | exclusiveCommandOption | Exclusive command option |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. 3) This exception can be due to progress to recording is not finished. |
System.TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Ready.
Postcondition: The Service State will become Recording.
Declaration
C#Copypublic static void StartFeedback()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void Stop()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This can occur due to the following reasons: 1) This exception can be due to an invalid state. 2) This exception can be due to operation failed. 3) This exception can be due to progress to ready is not finished. 4) This exception can be due to progress to recording is not finished. 5) This exception can be due to progress to processing is not finished. |
System.TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State must be Recording.
Postcondition: The Service State will become Processing.
Declaration
C#Copypublic static void StopFeedback()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Ready
Declaration
C#Copypublic static void Unprepare()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be ready.
Postcondition: The state must be initialized.
Events
AllRecognitionResultReceived
Called when client gets the all recognition results from vc-daemon.
Declaration
C#Copypublic static event EventHandler<AllRecognitionResultEventArgs> AllRecognitionResultReceived
Event Type
Type | Description |
---|---|
System.EventHandler<AllRecognitionResultEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<ConversationRequestedEventArgs> ConversationRequested
Event Type
Type | Description |
---|---|
System.EventHandler<ConversationRequestedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<CurrentLanguageChangedEventArgs> CurrentLanguageChanged
Event Type
Type | Description |
---|---|
System.EventHandler<CurrentLanguageChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized.
Declaration
C#Copypublic static event EventHandler<ErrorOccurredEventArgs> ErrorOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<ErrorOccurredEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized.
FeedbackAudioFormatChanged
Called when engine sends audio formats necessary for playing TTS feedback.
Declaration
C#Copypublic static event EventHandler<FeedbackAudioFormatEventArgs> FeedbackAudioFormatChanged
Event Type
Type | Description |
---|---|
System.EventHandler<FeedbackAudioFormatEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<FeedbackStreamingEventArgs> FeedbackStreaming
Event Type
Type | Description |
---|---|
System.EventHandler<FeedbackStreamingEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
PreRecognitionResultUpdated
Called when client gets the pre recognition results(partial ASR) from vc-daemon.
Declaration
C#Copypublic static event EventHandler<PreRecognitionResultUpdatedEventArgs> PreRecognitionResultUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<PreRecognitionResultUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<PrivateDataUpdatedEventArgs> PrivateDataUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<PrivateDataUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<RecognitionResultUpdatedEventArgs> RecognitionResultUpdated
Event Type
Type | Description |
---|---|
System.EventHandler<RecognitionResultUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<ServiceStateChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized.
SpecificEngineResult
Called when client gets the specific engine's result from vc-service.
Declaration
C#Copypublic static event EventHandler<SpecificEngineResultEventArgs> SpecificEngineResult
Event Type
Type | Description |
---|---|
System.EventHandler<SpecificEngineResultEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<EventArgs> SpeechDetected
Event Type
Type | Description |
---|---|
System.EventHandler<EventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The State should be Initialized
Declaration
C#Copypublic static event EventHandler<StateChangedEventArgs> StateChanged
Event Type
Type | Description |
---|---|
System.EventHandler<StateChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | The required feature is not supported. |
API Level: 6
Privilege Level: platform
Privilege: http://tizen.org/privilege/voicecontrol.managerhttp://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control_managerhttp://tizen.org/feature/microphone
Precondition: The state must be initialized.
Declaration
C#Copypublic static event EventHandler<VcTtsStreamingEventArgs> VcTtsStreaming
Event Type
Type | Description |
---|---|
System.EventHandler<VcTtsStreamingEventArgs> |