#include <mmf/common/speechrecognitiondataclient.h>
Link against: speechrecognitiondata.lib
| class CSDClientResultSet : public CBase | 
| Public Member Functions | |
|---|---|
| ~CSDClientResultSet() | |
| IMPORT_C const CSDClientResult & | At(TInt) | 
| IMPORT_C const TDiagnostic & | Diagnostic() | 
| IMPORT_C void | ExternalizeL(RWriteStream &) | 
| IMPORT_C void | InternalizeL(RReadStream &) | 
| IMPORT_C TInt | MaxResults() | 
| IMPORT_C CSDClientResultSet * | NewL() | 
| IMPORT_C CSDClientResultSet * | NewLC() | 
| IMPORT_C TInt | ResultCount() | 
| IMPORT_C void | SetDiagnostic(TDiagnostic &) | 
| IMPORT_C void | SetMaxResultsL(TInt) | 
| IMPORT_C void | SetResultCount(TInt) | 
Class to encapsulate a client recogntion result set This is a lightweight result set formulated for client consumption
| IMPORT_C const CSDClientResult & | At | ( | TInt | aIndex | ) | const | 
Returns a result at a given index within the result set.
| Parameters | |
|---|---|
| aIndex | The index of result to return. | 
| IMPORT_C const TDiagnostic & | Diagnostic | ( | ) | const | 
Gets the diagnostic of this result set.
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const | 
Writes the state of the class to a stream.
| Parameters | |
|---|---|
| aStream | The stream to write to. | 
| IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | 
Restores the state of the object from a stream.
| Parameters | |
|---|---|
| aStream | The stream to read from. | 
| IMPORT_C TInt | MaxResults | ( | ) | const | 
Returns the current value of the max number of expected after recognition.
| IMPORT_C CSDClientResultSet * | NewL | ( | ) | [static] | 
Two-phased constructor.
| IMPORT_C CSDClientResultSet * | NewLC | ( | ) | [static] | 
Two-phased constructor. Pushes the newly created object onto the cleanup stack
| IMPORT_C TInt | ResultCount | ( | ) | const | 
Returns the number of results actually returned after recogntion.
| IMPORT_C void | SetDiagnostic | ( | TDiagnostic & | aDiagnostic | ) | 
Sets the diagnostic of this result set.
| Parameters | |
|---|---|
| aDiagnostic | The reference to the diagostic object. | 
| IMPORT_C void | SetMaxResultsL | ( | TInt | aMaxResults | ) | 
Sets the maximum number of best matches (N-best) expected in the recognition result after recognition.
| Parameters | |
|---|---|
| aMaxResults | The maximum number of matches expected in the recognition result. | 
| IMPORT_C void | SetResultCount | ( | TInt | aResultCount | ) | 
Sets the number of results actually returned after recogntion.
| Parameters | |
|---|---|
| aResultCount | The number of results returned by the recognizer. |