Location Component Compass Engine
This manager class handles compass events such as starting the tracking of device bearing, or when a new compass update occurs.
open class LocationComponentCompassEngine : CompassEngine, SensorEventListener
Content copied to clipboard
Constructors
LocationComponentCompassEngine
Link copied to clipboard
Construct a new instance of the this class. A internal compass listeners needed to separate it from the cleared list of public listeners.
open fun LocationComponentCompassEngine(windowManager: WindowManager, sensorManager: SensorManager)
Content copied to clipboard
Functions
addCompassListener
Link copied to clipboard
onAccuracyChanged
Link copied to clipboard
onSensorChanged
Link copied to clipboard
removeCompassListener
Link copied to clipboard
Properties
lastAccuracySensorStatus
Link copied to clipboard
lastHeading
Link copied to clipboard
SENSOR_DELAY_MICROS
Link copied to clipboard