class CSensorDataCompensatorPlugin : public CBase |
Sensor data compensation plugin API definition.
S60 5.0
Public Member Functions | |
---|---|
TPtrC8 | GetCompensationItem(TInt) |
TInt | GetCompensationItemCount() |
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.
S60 5.0
The package of compensation value for example: TCompensationTypeAxisDataPckgBuf or TCompensationTypeAngleDataPckgBuf or TCompensationTypeDirectionDataPckgBuf
TInt aIndex | Index for fetching compensation value from plugin. |
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.