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#
Copy
public class VoiceCommandList : object
Inheritance
VoiceCommandList

Constructors

View Source

VoiceCommandList()

The public constructor.

Declaration
C#
Copy
public 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

View Source

Count

Gets a command count of the list. -1 is returned in case of an internal failure.

Declaration
C#
Copy
public 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#
Copy
public 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

View Source

Add(VoiceCommand)

Adds a command to the command list.

Declaration
C#
Copy
public 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
View Source

First()

Moves an index to the first command.

Declaration
C#
Copy
public 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
View Source

GetAllCommands()

Retrieves all commands from the command list.

Declaration
C#
Copy
public 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
View Source

Last()

Moves an index to the last command.

Declaration
C#
Copy
public 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
View Source

Next()

Moves an index to the next command.

Declaration
C#
Copy
public 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
View Source

Previous()

Moves an index to the previous command.

Declaration
C#
Copy
public 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
View Source

Remove(VoiceCommand)

Removes a command from the command list.

Declaration
C#
Copy
public void Remove(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

Extension Methods