Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Static Public Attributes | List of all members
CompassAndroid Class Reference

#include <CompassAndroid.h>

Inheritance diagram for CompassAndroid:

Static Public Attributes

const static int SENSOR_DELAY_FASTEST = 0
const static int SENSOR_DELAY_GAME = 1
const static int SENSOR_DELAY_UI = 2
const static int SENSOR_DELAY_NORMAL = 3

Additional Inherited Members

- Public Member Functions inherited from CompassDevice
 CompassDevice (const kstl::string &name, DECLARE_CLASS_NAME_TREE_ARG)
 buttons list More...
void getPos (kfloat &posX, kfloat &posY, kfloat &posZ)
 retreive current position More...

Detailed Description

Android compass management.

Member Data Documentation


const static int CompassAndroid::SENSOR_DELAY_FASTEST = 0

get sensor data as fast as possible


const static int CompassAndroid::SENSOR_DELAY_GAME = 1

rate suitable for games


const static int CompassAndroid::SENSOR_DELAY_NORMAL = 3

rate (default) suitable for screen orientation changes


const static int CompassAndroid::SENSOR_DELAY_UI = 2

rate suitable for the user interface

The documentation for this class was generated from the following files: