CSDClientResultSet Class Reference

#include <mmf/common/speechrecognitiondataclient.h>

Link against: speechrecognitiondata.lib

class CSDClientResultSet : public CBase

Inherits from

  • CSDClientResultSet

    Detailed Description

    Class to encapsulate a client recogntion result set This is a lightweight result set formulated for client consumption

    Since
    8.0

    Constructor & Destructor Documentation

    ~CSDClientResultSet ( )

    IMPORT_C~CSDClientResultSet()

    Destructor.

    Member Function Documentation

    At ( TInt )

    IMPORT_C const CSDClientResult &At(TIntaIndex)const

    Returns a result at a given index within the result set.

    Since
    8.0
    ParameterDescription
    aIndexThe index of result to return.

    Returns: A pointer to CSDClientResult object.

    Diagnostic ( )

    IMPORT_C const TDiagnostic &Diagnostic()const

    Gets the diagnostic of this result set.

    Since
    8.0

    Returns: A reference to TDiagnostic object.

    ExternalizeL ( RWriteStream & )

    IMPORT_C voidExternalizeL(RWriteStream &aStream)const

    Writes the state of the class to a stream.

    Since
    8.0
    ParameterDescription
    aStreamThe stream to write to.

    InternalizeL ( RReadStream & )

    IMPORT_C voidInternalizeL(RReadStream &aStream)

    Restores the state of the object from a stream.

    Since
    8.0
    ParameterDescription
    aStreamThe stream to read from.

    MaxResults ( )

    IMPORT_C TIntMaxResults()const

    Returns the current value of the max number of expected after recognition.

    Since
    8.0

    Returns: The maximum number of best matches (N-best) expected in the recognition result.

    NewL ( )

    IMPORT_C CSDClientResultSet *NewL()[static]

    Two-phased constructor.

    Returns: CSDClientResultSet object.

    NewLC ( )

    IMPORT_C CSDClientResultSet *NewLC()[static]

    Two-phased constructor. Pushes the newly created object onto the cleanup stack

    Returns: CSDClientResultSet object.

    ResultCount ( )

    IMPORT_C TIntResultCount()const

    Returns the number of results actually returned after recogntion.

    Since
    8.0

    Returns: The number of results actually returned after recogntion.

    SetDiagnostic ( TDiagnostic & )

    IMPORT_C voidSetDiagnostic(TDiagnostic &aDiagnostic)

    Sets the diagnostic of this result set.

    Since
    8.0
    ParameterDescription
    aDiagnosticThe reference to the diagostic object.

    SetMaxResultsL ( TInt )

    IMPORT_C voidSetMaxResultsL(TIntaMaxResults)

    Sets the maximum number of best matches (N-best) expected in the recognition result after recognition.

    Since
    8.0
    ParameterDescription
    aMaxResultsThe maximum number of matches expected in the recognition result.

    SetResultCount ( TInt )

    IMPORT_C voidSetResultCount(TIntaResultCount)

    Sets the number of results actually returned after recogntion.

    Since
    8.0
    ParameterDescription
    aResultCountThe number of results returned by the recognizer.