Class VoiceCommand
Definition
- Namespace:
- Tizen.Uix.VoiceControl
- Assembly:
- Tizen.Uix.VoiceControl.dll
This class represents a voice command.
public class VoiceCommand
- Inheritance
-
objectVoiceCommand
Constructors
View SourceVoiceCommand()
The public constructor.
Declaration
public VoiceCommand()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | This exception can be due to an invalid state. |
System.OutOfMemoryException | This exception can be due to out Of memory. |
System.UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | This exception can be due to not supported. |
Properties
View SourceCommand
Gets or sets the command. A get empty string will be returned in case of some internal error.
Declaration
public string Command { get; set; }
Property Value
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
System.UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | This exception can be due to not supported. |
Format
Gets or sets the command format.
Declaration
public CommandFormat Format { get; set; }
Property Value
Type | Description |
---|---|
CommandFormat |
Remarks
The default format is Fixed.
Exceptions
Type | Condition |
---|---|
System.UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | This exception can be due to not supported. |
Type
Gets or sets the command type.
Declaration
public 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 |
---|---|
System.UnauthorizedAccessException | This exception can be due to permission denied. |
System.NotSupportedException | This exception can be due to not supported. |
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
public string UnfixedCommand { get; }
Property Value
Type | Description |
---|---|
string |