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:
CompassDevice

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

◆ SENSOR_DELAY_FASTEST

const static int CompassAndroid::SENSOR_DELAY_FASTEST = 0
static

get sensor data as fast as possible

◆ SENSOR_DELAY_GAME

const static int CompassAndroid::SENSOR_DELAY_GAME = 1
static

rate suitable for games

◆ SENSOR_DELAY_NORMAL

const static int CompassAndroid::SENSOR_DELAY_NORMAL = 3
static

rate (default) suitable for screen orientation changes

◆ SENSOR_DELAY_UI

const static int CompassAndroid::SENSOR_DELAY_UI = 2
static

rate suitable for the user interface


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