Class VoiceCommand
Definition
- Namespace:
- Tizen.Uix.VoiceControl
- Assembly:
- Tizen.Uix.VoiceControl.dll
- API Level:
- 3
This class represents a voice command.
C#Copypublic class VoiceCommand
- Inheritance
-
VoiceCommand
Constructors
Declaration
C#Copypublic VoiceCommand()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to an invalid state. |
OutOfMemoryException | This exception can be due to out Of memory. |
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Properties
Command
Gets or sets the command. A get empty string will be returned in case of some internal error.
Declaration
C#Copypublic string Command { get; set; }
Property Value
Type | Description |
---|---|
String |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Declaration
C#Copypublic CommandFormat Format { get; set; }
Property Value
Type | Description |
---|---|
CommandFormat |
Remarks
The default format is Fixed.
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Declaration
C#Copypublic CommandType Type { get; set; }
Property Value
Type | Description |
---|---|
CommandType |
Remarks
If you do not set the command type, the default value is undefined. You should set the type if the command is valid.
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
UnfixedCommand
Gets the unfixed command. This property should be used for commands which have non-fixed format. An empty string will be returned in case of some internal error.
Declaration
C#Copypublic string UnfixedCommand { get; }
Property Value
Type | Description |
---|---|
String |