CSDResult Class Reference

#include <mmf/common/speechrecognitiondatadevasr.h>

Link against: speechrecognitiondata.lib

class CSDResult : public CBase

Inherits from

  • CSDResult

    Detailed Description

    Class to encapsulate a Recognition Result

    Since
    8.0

    Constructor & Destructor Documentation

    ~CSDResult ( )

    IMPORT_C~CSDResult()

    Destructor.

    Member Function Documentation

    GrammarID ( )

    IMPORT_C TGrammarIDGrammarID()const

    Returns the grammar ID of the result.

    Since
    8.0

    Returns: The grammar identifier.

    NewL ( )

    IMPORT_C CSDResult *NewL()[static]

    Instantiates an instance of a CSDResult.

    Returns: A pointer to a CSDResult object.

    NewL ( TGrammarID, TRuleID )

    IMPORT_C CSDResult *NewL(TGrammarIDaGrammarID,
    TRuleIDaRuleID
    )[static]

    Instantiates an instance of a CSDResult.

    ParameterDescription
    aGrammarIDThe grammar identifier.
    aRuleIDThe rule identifier.

    Returns: A pointer to a CSDResult object.

    NewLC ( )

    IMPORT_C CSDResult *NewLC()[static]

    Instantiates an instance of CSDResult and leaves a pointer on the cleanup stack.

    Returns: A pointer to a CSDResult object.

    NewLC ( TGrammarID, TRuleID )

    IMPORT_C CSDResult *NewLC(TGrammarIDaGrammarID,
    TRuleIDaRuleID
    )[static]

    Instantiates an instance of a CSDResult and leaves a pointer on the cleanup stack.

    ParameterDescription
    aGrammarIDThe grammar identifier.
    aRuleIDThe rule identifier.

    Returns: A pointer to a CSDResult object.

    RuleID ( )

    IMPORT_C TRuleIDRuleID()const

    Returns the rule ID of the result.

    Since
    8.0

    Returns: The rule identifier.

    Score ( )

    IMPORT_C TInt32Score()const

    Returns the score of this result.

    Since
    8.0

    Returns: The score of this result.

    SetGrammarID ( TGrammarID )

    IMPORT_C voidSetGrammarID(TGrammarIDaGrammarID)

    Sets the grammar ID on the result.

    Since
    8.0
    ParameterDescription
    aGrammarIDThe grammar identifier.

    SetRuleID ( TRuleID )

    IMPORT_C voidSetRuleID(TRuleIDaRuleID)

    Sets the rule ID of the result.

    Since
    8.0
    ParameterDescription
    aRuleIDThe rule identifier.

    SetScore ( const TInt32 )

    IMPORT_C voidSetScore(const TInt32aScore)

    Sets the score for this result.

    Since
    8.0
    ParameterDescription
    aScoreThe score of this result.