Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SpeechRecognitionDataClient.h>
Link against: speechrecognitiondata.lib
This item is not part of the S60 5th Edition SDK

Class CSDClientResult

class CSDClientResult : public CBase;

Description

Class to encapsulate a client recognition result. The result is formulated for client consumption.

Derivation

Members

Defined in CSDClientResult:

Inherited from CBase:


Construction and destruction


~CSDClientResult()

IMPORT_C ~CSDClientResult();

Description

Destructor.


NewL()

IMPORT_C static CSDClientResult* NewL();

Description

Two-phased constructor. Creates an uninitialised recognition result.

Can leave with one of the system-wide error codes

Return value

CSDClientResult *

CSDClientResult object


NewLC()

IMPORT_C static CSDClientResult* NewLC();

Description

Two-phased constructor. Creates an uninitialised recognition result. A copy of the newly created class is pushed onto the cleanup stack.

Can leave with one of the system-wide error codes.

Return value

CSDClientResult *

CSDClientResult object


NewL(TGrammarID,TRuleID)

IMPORT_C static CSDClientResult* NewL(TGrammarID aGrammarID, TRuleID aRuleID);

Description

Two-phased constructor. Creates a result with a grammar and rule ID.

Can leave with one of the system-wide error codes.

Parameters

TGrammarID aGrammarID

The grammar ID of the result.

TRuleID aRuleID

The rule ID of the result.

Return value

CSDClientResult *

CSDClientResult object.


NewLC(TGrammarID,TRuleID)

IMPORT_C static CSDClientResult* NewLC(TGrammarID aGrammarID, TRuleID aRuleID);

Description

Two-phased constructor. Creates a result with a grammar and rule ID. A copy of the newly created class is pushed onto the cleanup stack.

Can leave with one of the system-wide error codes.

Parameters

TGrammarID aGrammarID

The grammar ID of the result

TRuleID aRuleID

The rule ID of the result

Return value

CSDClientResult *

CSDClientResult object.

[Top]


Member functions


SetGrammarID(TGrammarID)

IMPORT_C void SetGrammarID(TGrammarID aGrammarID);

Description

Sets the grammar ID on the result.

Parameters

TGrammarID aGrammarID

The grammar identifier.


GrammarID()const

IMPORT_C TGrammarID GrammarID() const;

Description

Retrieves the grammar ID of the result.

Return value

TGrammarID

Grammar identifier.


SetRuleID(TRuleID)

IMPORT_C void SetRuleID(TRuleID aRuleID);

Description

Sets the rule ID of the result.

Parameters

TRuleID aRuleID

The rule identifier.


RuleID()const

IMPORT_C TRuleID RuleID() const;

Description

Returns the rule ID of the result.

Return value

TRuleID

The rule identifier.