Android.Hardware.SensorManager: Method Members

The methods of Android.Hardware.SensorManager are listed below. For a list of all members, see the SensorManager Members list.

See Also: Inherited members from Java.Lang.Object

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.