Class VoiceCommandList
Definition
- Namespace:
- Tizen.Uix.VoiceControl
- Assembly:
- Tizen.Uix.VoiceControl.dll
This class represents a list of the voice commands.
public class VoiceCommandList
- Inheritance
-
objectVoiceCommandList
Constructors
View SourceVoiceCommandList()
The public constructor.
Declaration
public VoiceCommandList()
Properties
View SourceCount
Gets a command count of the list. -1 is returned in case of an internal failure.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int | Command count of the list. |
Current
Gets the current command from the command list by index. Null will be returned in case of an empty list.
Declaration
public VoiceCommand Current { get; }
Property Value
Type | Description |
---|---|
VoiceCommand | Current command from the command list. |
Methods
View SourceAdd(VoiceCommand)
Adds a command to the command list.
Declaration
public void Add(VoiceCommand command)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommand | command | The command |
First()
Moves an index to the first command.
Declaration
public void First()
GetAllCommands()
Retrieves all commands from the command list.
Declaration
public IEnumerable<VoiceCommand> GetAllCommands()
Returns
Type | Description |
---|---|
IEnumerable<><VoiceCommand> |
Last()
Moves an index to the last command.
Declaration
public void Last()
Next()
Moves an index to the next command.
Declaration
public void Next()
Previous()
Moves an index to the previous command.
Declaration
public void Previous()
Remove(VoiceCommand)
Removes a command from the command list.
Declaration
public void Remove(VoiceCommand command)
Parameters
Type | Name | Description |
---|---|---|
VoiceCommand | command | The command |