Class VoiceCommandList
Definition
- Namespace:
- Tizen.Uix.VoiceControl
- Assembly:
- Tizen.Uix.VoiceControl.dll
- API Level:
- 3
This class represents a list of the voice commands.
C#Copypublic class VoiceCommandList
- Inheritance
-
VoiceCommandList
Constructors
Declaration
C#Copypublic VoiceCommandList()
Exceptions
Type | Condition |
---|---|
OutOfMemoryException | This exception can be due to out of memory. |
ArgumentException | This exception can be due to an invalid parameter. |
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Properties
Declaration
C#Copypublic int Count { get; }
Property Value
Type | Description |
---|---|
Int32 | Command count of the list. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Current
Gets the current command from the command list by index. Null will be returned in case of an empty list.
Declaration
C#Copypublic VoiceCommand Current { get; }
Property Value
Type | Description |
---|---|
VoiceCommand | Current command from the command list. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Methods
Declaration
C#Copypublic void Add(VoiceCommand command)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommand | command | The command |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
NullReferenceException | This will occur if the provided parameter is null. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic void First()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to list empty. |
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic IEnumerable<VoiceCommand> GetAllCommands()
Returns
Type | Description |
---|---|
IEnumerable<VoiceCommand> |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic void Last()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to list empty. |
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic void Next()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to the following reasons:
|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic void Previous()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | This exception can be due to the following reasons:
|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/recorder
Feature: http://tizen.org/feature/speech.control http://tizen.org/feature/microphone
Declaration
C#Copypublic void Remove(VoiceCommand command)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommand | command | The command |
Exceptions
Type | Condition |
---|---|
UnauthorizedAccessException | This exception can be due to permission denied. |
NotSupportedException | This exception can be due to not supported. |
NullReferenceException | This will occur if the provided parameter is null. |