Android.Hardware.SensorManager Members

The members of Android.Hardware.SensorManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
GravityDeathStarIfloat (0). Gravity (estimate) on the first Death Star in Empire units (m/s^2)
const
GravityEarthfloat (9.80665). Earth's gravity in SI units (m/s^2)
const
GravityJupiterfloat (23.12). Jupiter's gravity in SI units (m/s^2)
const
GravityMarsfloat (3.71). Mars' gravity in SI units (m/s^2)
const
GravityMercuryfloat (3.7). Mercury's gravity in SI units (m/s^2)
const
GravityMoonfloat (1.6). The Moon's gravity in SI units (m/s^2)
const
GravityNeptunefloat (11). Neptune's gravity in SI units (m/s^2)
const
GravityPlutofloat (0.6). Pluto's gravity in SI units (m/s^2)
const
GravitySaturnfloat (8.96). Saturn's gravity in SI units (m/s^2)
const
GravitySunfloat (275). Sun's gravity in SI units (m/s^2)
const
GravityTheIslandfloat (4.815162). Gravity on the island
const
GravityUranusfloat (8.69). Uranus' gravity in SI units (m/s^2)
const
GravityVenusfloat (8.87). Venus' gravity in SI units (m/s^2)
const
LightCloudyfloat (100). luminance under a cloudy sky in lux
const
LightFullmoonfloat (0.25). luminance at night with full moon in lux
const
LightNoMoonfloat (0.001). luminance at night with no moon in lux
const
LightOvercastfloat (10000). luminance under an overcast sky in lux
const
LightShadefloat (20000). luminance in shade in lux
const
LightSunlightfloat (110000). luminance of sunlight in lux
const
LightSunlightMaxfloat (120000). Maximum luminance of sunlight in lux
const
LightSunrisefloat (400). luminance at sunrise in lux
const
MagneticFieldEarthMaxfloat (60). Maximum magnetic field on Earth's surface
const
MagneticFieldEarthMinfloat (30). Minimum magnetic field on Earth's surface
const
PressureStandardAtmospherefloat (1013.25). Standard atmosphere, or average sea-level pressure in hPa (millibar)
const
StandardGravityfloat (9.80665). Standard gravity (g) on Earth.

Public Properties

[read-only]
Sensorsint.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

CancelTriggerSensor(TriggerEventListener, Sensor) : bool
Cancels receiving trigger events for a trigger sensor.
Flush(ISensorEventListener) : bool
Flushes the batch FIFO of all the sensors registered for this listener.
static
FromContext(Android.Content.Context) : SensorManager
Documentation for this section has not yet been entered.
static
GetAltitude(float, float) : float
Computes the Altitude in meters from the atmospheric pressure and the pressure at sea level.
static
GetAngleChange(float[], float[], float[])
Helper function to compute the angle change between two rotation matrices.
GetDefaultSensor(SensorType) : Sensor
Use this method to get the default sensor for a given type.
GetDefaultSensor(SensorType, bool) : Sensor
Return a Sensor with the given type and wakeUp properties.
static
GetInclination(float[]) : float
Computes the geomagnetic inclination angle in radians from the inclination matrix I returned by SensorManager.GetRotationMatrix(Single[], System.Single[], System.Single[], System.Single[]).
static
GetOrientation(float[], float[]) : float[]
Computes the device's orientation based on the rotation matrix.
static
GetQuaternionFromVector(float[], float[])
Helper function to convert a rotation vector to a normalized quaternion.
static
GetRotationMatrix(float[], float[], float[], float[]) : bool
static
GetRotationMatrixFromVector(float[], float[])
Helper function to convert a rotation vector to a rotation matrix.
GetSensorList(SensorType) : IList<Sensor>
Use this method to get the list of available sensors of a certain type.
RegisterListener(ISensorListener, int) : bool
Registers a listener for given sensors.
RegisterListener(ISensorEventListener, Sensor, SensorDelay) : bool
Registers a Android.Hardware.ISensorEventListener for the given sensor.
RegisterListener(ISensorListener, int, SensorDelay) : bool
Registers a SensorListener for given sensors.
RegisterListener(ISensorEventListener, Sensor, SensorDelay, Android.OS.Handler) : bool
Registers a Android.Hardware.ISensorEventListener for the given sensor.
RegisterListener(ISensorEventListener, Sensor, SensorDelay, int) : bool
Enables batch mode for a sensor with the given rate and maxBatchReportLatency.
RegisterListener(ISensorEventListener, Sensor, int, int) : bool
Enables batch mode for a sensor with the given rate and maxBatchReportLatency.
RegisterListener(ISensorEventListener, Sensor, SensorDelay, int, Android.OS.Handler) : bool
Enables batch mode for a sensor with the given rate and maxBatchReportLatency.
RegisterListener(ISensorEventListener, Sensor, int, int, Android.OS.Handler) : bool
Enables batch mode for a sensor with the given rate and maxBatchReportLatency.
static
RemapCoordinateSystem(float[], Axis, Axis, float[]) : bool
RequestTriggerSensor(TriggerEventListener, Sensor) : bool
Requests receiving trigger events for a trigger sensor.
UnregisterListener(ISensorEventListener)
Unregisters a listener for all sensors.
UnregisterListener(ISensorListener)
Unregisters a listener for all sensors.
UnregisterListener(ISensorEventListener, Sensor)
Unregisters a listener for the sensors with which it is registered.
UnregisterListener(ISensorListener, int)
Unregisters a listener for the sensors with which it is registered.