Class VoiceControlManagerClient
Definition
- Namespace:
- Tizen.Uix.VoiceControlManager
- Assembly:
- Tizen.Uix.VoiceControlManager.dll
- API Level:
- 6
Voice Control Manager Class
public static class VoiceControlManagerClient
- Inheritance
-
VoiceControlManagerClient
Properties
View SourceAudioType
Sets or Gets the Audio In Type. The Values of the strings can be "VC_AUDIO_ID_BLUETOOTH" or "VC_AUDIO_ID_MSF"
Declaration
public static string AudioType { get; set; }
Property Value
Type | Description |
---|---|
String |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceCurrentLanguage
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
public static string CurrentLanguage { get; }
Property Value
Type | Description |
---|---|
String | The current language in voice control. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceRecognitionMode
Sets or Gets the recognition mode.
Declaration
public static RecognitionModeType RecognitionMode { get; set; }
Property Value
Type | Description |
---|---|
RecognitionModeType |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceRecordingVolume
Gets the microphone volume during recording.
Declaration
public static float RecordingVolume { get; }
Property Value
Type | Description |
---|---|
Single |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceServiceState
Gets the current state of the voice control service.
Declaration
public static ServiceState ServiceState { get; }
Property Value
Type | Description |
---|---|
ServiceState | The current state of the voice control service. |
Exceptions
Type | Condition |
---|---|
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. |
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.
View SourceState
Gets the current state of the voice control client.
Declaration
public static State State { get; }
Property Value
Type | Description |
---|---|
State | The current state of the voice control client. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceCancel()
Cancels recognition.
Declaration
public static void Cancel()
Exceptions
Type | Condition |
---|---|
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. |
TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceClearCommands()
Clears commands.
Declaration
public static void ClearCommands()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceDeinitialize()
Deinitialize the voice control manager.
Declaration
public static void Deinitialize()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceDisableCommandType(CommandType)
Disable command type as candidate command.
Declaration
public static void DisableCommandType(CommandType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CommandType | cmdType | Command Type |
Exceptions
Type | Condition |
---|---|
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. |
TimeoutException | This exception can be due to no answer from service. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceDoAction(SendEventType, String)
Request to do action as if utterence is spoken.
Declaration
public static void DoAction(SendEventType type, string sendEvent)
Parameters
Type | Name | Description |
---|---|---|
SendEventType | type | Event type |
String | sendEvent | The string for send event |
Exceptions
Type | Condition |
---|---|
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. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceEnableCommandType(CommandType)
Enable command type as candidate command.
Declaration
public static void EnableCommandType(CommandType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CommandType | cmdType | Command Type |
Exceptions
Type | Condition |
---|---|
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. |
TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceGetCurrentCommands()
Retrieves all available commands.
Declaration
public static IEnumerable<VoiceCommand> GetCurrentCommands()
Returns
Type | Description |
---|---|
IEnumerable<VoiceCommand> | The Command List else null in case of no System Commands |
Exceptions
Type | Condition |
---|---|
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. |
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
View SourceGetPrivateData(String)
Gets private data between app and engine.
Declaration
public static string GetPrivateData(string key)
Parameters
Type | Name | Description |
---|---|---|
String | key | Private key |
Returns
Type | Description |
---|---|
String | Private data |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceGetSupportedLanguages()
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
public static IEnumerable<string> GetSupportedLanguages()
Returns
Type | Description |
---|---|
IEnumerable<String> | List of strings for supported languages. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceInitialize()
Initialize voice control manager.
Declaration
public static void Initialize()
Exceptions
Type | Condition |
---|---|
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. |
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.
View SourceIsSupportedCommandFormat(CommandFormat)
Checks whether the command format is supported.
Declaration
public static bool IsSupportedCommandFormat(CommandFormat format)
Parameters
Type | Name | Description |
---|---|---|
CommandFormat | format | The command format |
Returns
Type | Description |
---|---|
Boolean | The result status, true if supported |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourcePrepare()
Connects the voice control service.
Declaration
public static void Prepare()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceSendSpecificEngineRequest(String, String, String)
Sends the specific engine request to the vc-service.
Declaration
public static void SendSpecificEngineRequest(string engineAppId, string evt, string request)
Parameters
Type | Name | Description |
---|---|---|
String | engineAppId | A specific engine's app id |
String | evt | A engine service user request event |
String | request | A engine service user request text |
Exceptions
Type | Condition |
---|---|
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. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceSetCommands(VoiceCommandsGroup)
Sets system or exclusive commands.
Declaration
public static void SetCommands(VoiceCommandsGroup commands)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommandsGroup | commands | Command list |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceSetCommandsFromFile(String, CommandType)
Sets commands from file.
Declaration
public static void SetCommandsFromFile(string path, CommandType type)
Parameters
Type | Name | Description |
---|---|---|
String | path | File Path |
CommandType | type | Command type |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceSetPrivateData(String, String)
Sets private data between app and engine.
Declaration
public static void SetPrivateData(string key, string data)
Parameters
Type | Name | Description |
---|---|---|
String | key | Private key |
String | data | Private data |
Exceptions
Type | Condition |
---|---|
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. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceSetPrivateDataProviderDelegate(VoiceControlManagerClient.PrivateDataProvider)
Sets the delegate for setting private data.
Declaration
public static void SetPrivateDataProviderDelegate(VoiceControlManagerClient.PrivateDataProvider privateDataDelegate)
Parameters
Type | Name | Description |
---|---|---|
VoiceControlManagerClient.PrivateDataProvider | privateDataDelegate | The delegate for setting private data |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceSetRecognizedCommandsSelectionDelegate(VoiceControlManagerClient.SelectRecognizedCommandsDelegate)
Sets the delegate for setting valid commands.
Declaration
public static void SetRecognizedCommandsSelectionDelegate(VoiceControlManagerClient.SelectRecognizedCommandsDelegate recognizedCommandsDelegate)
Parameters
Type | Name | Description |
---|---|---|
VoiceControlManagerClient.SelectRecognizedCommandsDelegate | recognizedCommandsDelegate | The delegate for setting valid commands. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceStart(Boolean)
Starts recognition.
Declaration
public static void Start(bool exclusiveCommandOption)
Parameters
Type | Name | Description |
---|---|---|
Boolean | exclusiveCommandOption | Exclusive command option |
Exceptions
Type | Condition |
---|---|
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. |
TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceStartFeedback()
Starts getting TTS feedback streaming data from the buffer.
Declaration
public static void StartFeedback()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceStop()
Stop recognition.
Declaration
public static void Stop()
Exceptions
Type | Condition |
---|---|
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. |
TimeoutException | This exception can be due to no answer from service. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceStopFeedback()
Stops getting and removes TTS feedback streaming data from the buffer.
Declaration
public static void StopFeedback()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceUnprepare()
Disconnects the voice control service.
Declaration
public static void Unprepare()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceAllRecognitionResultReceived
Called when client gets the all recognition results from vc-daemon.
Declaration
public static event EventHandler<AllRecognitionResultEventArgs> AllRecognitionResultReceived
Event Type
Type | Description |
---|---|
EventHandler<AllRecognitionResultEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceConversationRequested
Event to be called when conversation requests.
Declaration
public static event EventHandler<ConversationRequestedEventArgs> ConversationRequested
Event Type
Type | Description |
---|---|
EventHandler<ConversationRequestedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceCurrentLanguageChanged
Event to be invoked when the default language changes.
Declaration
public static event EventHandler<CurrentLanguageChangedEventArgs> CurrentLanguageChanged
Event Type
Type | Description |
---|---|
EventHandler<CurrentLanguageChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceErrorOccurred
Event to be invoked when an error occurs.
Declaration
public static event EventHandler<ErrorOccurredEventArgs> ErrorOccurred
Event Type
Type | Description |
---|---|
EventHandler<ErrorOccurredEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceFeedbackAudioFormatChanged
Called when engine sends audio formats necessary for playing TTS feedback.
Declaration
public static event EventHandler<FeedbackAudioFormatEventArgs> FeedbackAudioFormatChanged
Event Type
Type | Description |
---|---|
EventHandler<FeedbackAudioFormatEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceFeedbackStreaming
Called when engine sends audio streaming for TTS feedback.
Declaration
public static event EventHandler<FeedbackStreamingEventArgs> FeedbackStreaming
Event Type
Type | Description |
---|---|
EventHandler<FeedbackStreamingEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourcePreRecognitionResultUpdated
Called when client gets the pre recognition results(partial ASR) from vc-daemon.
Declaration
public static event EventHandler<PreRecognitionResultUpdatedEventArgs> PreRecognitionResultUpdated
Event Type
Type | Description |
---|---|
EventHandler<PreRecognitionResultUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourcePrivateDataUpdated
Called when engine sets private data to manager client.
Declaration
public static event EventHandler<PrivateDataUpdatedEventArgs> PrivateDataUpdated
Event Type
Type | Description |
---|---|
EventHandler<PrivateDataUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceRecognitionResultUpdated
Event to be invoked when the recognition is done.
Declaration
public static event EventHandler<RecognitionResultUpdatedEventArgs> RecognitionResultUpdated
Event Type
Type | Description |
---|---|
EventHandler<RecognitionResultUpdatedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceServiceStateChanged
Event to be invoked when the VoiceControl service state changes.
Declaration
public static event EventHandler<ServiceStateChangedEventArgs> ServiceStateChanged
Event Type
Type | Description |
---|---|
EventHandler<ServiceStateChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceSpecificEngineResult
Called when client gets the specific engine's result from vc-service.
Declaration
public static event EventHandler<SpecificEngineResultEventArgs> SpecificEngineResult
Event Type
Type | Description |
---|---|
EventHandler<SpecificEngineResultEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceSpeechDetected
Called when user speaking is detected.
Declaration
public static event EventHandler<EventArgs> SpeechDetected
Event Type
Type | Description |
---|---|
EventHandler<EventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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
View SourceStateChanged
Event to be invoked when the VoiceControl client state changes.
Declaration
public static event EventHandler<StateChangedEventArgs> StateChanged
Event Type
Type | Description |
---|---|
EventHandler<StateChangedEventArgs> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
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.
View SourceVcTtsStreaming
Called when the vc client sends audio streaming for TTS feedback.
Declaration
public static event EventHandler<VcTtsStreamingEventArgs> VcTtsStreaming
Event Type
Type | Description |
---|---|
EventHandler<VcTtsStreamingEventArgs> |