CSensorDataCompensatorPlugin Class Reference

class CSensorDataCompensatorPlugin : public CBase

Sensor data compensation plugin API definition.

Since
S60 5.0

Inherits from

  • CSensorDataCompensatorPlugin

Member Functions Documentation

GetCompensationItem(TInt)

TPtrC8 GetCompensationItem ( TInt aIndex ) [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.

Since
S60 5.0

Parameters

TInt aIndex Index 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.

Since
S60 5.0