Class VoiceCommand

    Definition

    Namespace:
    Tizen.Uix.VoiceControlManager
    Assembly:
    Tizen.Uix.VoiceControlManager.dll

    This class represents a voice command.

    public class VoiceCommand : IDisposable
    Inheritance
    object
    VoiceCommand
    Implements
    System.IDisposable

    Constructors

    View Source

    VoiceCommand()

    The public constructor.

    Declaration
    public VoiceCommand()
    Exceptions
    Type Condition
    System.InvalidOperationException

    This exception can be due to out of memory.

    System.UnauthorizedAccessException

    This exception can be due to permission denied.

    System.NotSupportedException

    The required feature is not supported.

    Properties

    View Source

    Command

    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.ArgumentException

    This exception can be due to an invalid parameter.

    System.UnauthorizedAccessException

    This exception can be due to permission denied.

    System.NotSupportedException

    The required feature is not supported.

    View Source

    CommandType

    Gets or sets the command type.

    Declaration
    public CommandType CommandType { 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.ArgumentException

    This exception can be due to an invalid parameter.

    System.UnauthorizedAccessException

    This exception can be due to permission denied.

    System.NotSupportedException

    The required feature is not supported.

    View Source

    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.ArgumentException

    This exception can be due to an invalid parameter.

    System.NotSupportedException

    The required feature is not supported.

    View Source

    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

    Methods

    View Source

    Dispose()

    Release any unmanaged resources used by this object.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Release any unmanaged resources used by this object.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    If true, disposes any disposable objects. If false, does not dispose disposable objects.

    View Source

    ~VoiceCommand()

    The destructor of the VoiceCommand class.

    Declaration
    protected ~VoiceCommand()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX