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 : object
- Inheritance
-
VoiceCommandList
Constructors
Declaration
C#Copypublic VoiceCommandList()
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
View Source
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 |
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()
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> |
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()
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()
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()
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 |