Android.Hardware.SensorManager.GetSensorList Method
Use this method to get the list of available sensors of a certain type.

Syntax

[Android.Runtime.Register("getSensorList", "(I)Ljava/util/List;", "GetGetSensorList_IHandler")]
public virtual IList<Sensor> GetSensorList ([Android.Runtime.GeneratedEnum] SensorType type)

See Also

SensorManager.GetDefaultSensor(SensorType)
Sensor

Parameters

type
of sensors requested

Returns

Documentation for this section has not yet been entered.

Remarks

Use this method to get the list of available sensors of a certain type. Make multiple calls to get sensors of different types or use Sensor.TYPE_ALL to get all the sensors.

NOTE: Both wake-up and non wake-up sensors matching the given type are returned. Check Sensor.IsWakeUpSensor to know the wake-up properties of the returned Android.Hardware.Sensor.

[Android Documentation]

Requirements

Namespace: Android.Hardware
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3