TBTNumericComparisonParams Class Reference

class TBTNumericComparisonParams : public TBTNotifierParams2

Secure simple pairing "Numeric Comparison" parameters. This class packages the parameters passed to a numeric comparison notifier.

Inherits from

Constructor & Destructor Documentation

TBTNumericComparisonParams(const TBTDevAddr &, const TDesC &, TUint32, TComparisonScenario, TBool)

IMPORT_CTBTNumericComparisonParams(const TBTDevAddr &aDevAddr,
const TDesC &aDeviceName,
TUint32aNumericalValue,
TComparisonScenarioaComparisonScenario,
TBoolaLocallyInitiated
)

Parameters

const TBTDevAddr & aDevAddr
const TDesC & aDeviceName
TUint32 aNumericalValue
TComparisonScenario aComparisonScenario
TBool aLocallyInitiated

TBTNumericComparisonParams()

IMPORT_CTBTNumericComparisonParams()

Default constructor. Required to allow the class to be packaged with the TPckg family of classes.

Member Functions Documentation

ComparisonScenario()

IMPORT_C TComparisonScenarioComparisonScenario()const

Accessor for the enumeration that indicates the particular numeric comparison scenario that the notifier is indicating.

LocallyInitiated()

IMPORT_C TBoolLocallyInitiated()const

Accessor for indicating whether the numeric comparison process was initiated by a local request, or whether it was trigger by the remote device.

NumericalValue()

IMPORT_C TUint32NumericalValue()const

Accessor for the 6 digit decimal numeric value to be used for comparison.

Member Enumerations Documentation

Enum TComparisonScenario

This represents the type of comparison that is being performed. It is intended to allow the UI to present the user of the device with suitable information to help them complete the pairing.

Enumerators

ERemoteCannotConfirm

Only the Symbian device can confirm the displayed numbers are the same.

ERemoteCanConfirm

Both devices can confirm that the displayed numbers are the same

Member Data Documentation

TComparisonScenario iComparisonScenario

TComparisonScenario iComparisonScenario[private]

TBool iLocallyInitiated

TBool iLocallyInitiated[private]

TUint32 iNumericalValue

TUint32 iNumericalValue[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]