CSensorDataCompensatorPlugin Class Reference

class CSensorDataCompensatorPlugin : public CBase

Sensor data compensation plugin API definition.

S60 5.0

Inherits from

  • CSensorDataCompensatorPlugin

Member Functions Documentation

GetCompensationItem(TInt)

TPtrC8 GetCompensationItem(TIntaIndex)[pure virtual]

Retrieves compensation values for requested data type. Values can be configured for different device states per sensor data types and there may be multiple values affecting compensation at current time.

S60 5.0

The package of compensation value for example: TCompensationTypeAxisDataPckgBuf or TCompensationTypeAngleDataPckgBuf or TCompensationTypeDirectionDataPckgBuf

Parameters

TInt aIndexIndex for fetching compensation value from plugin.

GetCompensationItemCount()

TInt GetCompensationItemCount()[pure virtual]

Retrieves item count for compensation values at current time. Method is called prior fetching actual values with GetCompensationItem. If plugin is not yet ready providing compensation values, it should be indicated by returning KErrNotReady.

S60 5.0

Count of compensation values. KErrNotReady if plugin is not ready providing compensation values.