TDataRecognitionResult Class Reference

#include <apmrec.h>

Link against: apmime.lib

class TDataRecognitionResult
Public Attributes
TInt iConfidence
TDataType iDataType
Public Member Functions
IMPORT_C voidReset()

Detailed Description

The result of an attempt to recognize data.

The class contains a data (MIME) type and a confidence rating.

An object of this type is passed to the Application Architecture server when making a request to recognize data.

See also: RApaLsSession::RecognizeData()

Member Attribute Documentation

iConfidence

TInt iConfidence

The confidence rating associated with the data (EMIME) type.

iDataType

TDataType iDataType

The data type.

Member Function Documentation

Reset ( )

IMPORT_C voidReset()

Resets the data type to the default data type and sets the confidence rating to CApaDataRecognizerType::ENotRecognized.

See also: CApaDataRecognizerType::TRecognitionConfidence TDataType