SensorManager.GetDynamicSensorList(SensorType) Method

Definition

Use this method to get a list of available dynamic sensors of a certain type.

[Android.Runtime.Register("getDynamicSensorList", "(I)Ljava/util/List;", "GetGetDynamicSensorList_IHandler", ApiSince=24)]
public virtual System.Collections.Generic.IList<Android.Hardware.Sensor>? GetDynamicSensorList (Android.Hardware.SensorType type);
[<Android.Runtime.Register("getDynamicSensorList", "(I)Ljava/util/List;", "GetGetDynamicSensorList_IHandler", ApiSince=24)>]
abstract member GetDynamicSensorList : Android.Hardware.SensorType -> System.Collections.Generic.IList<Android.Hardware.Sensor>
override this.GetDynamicSensorList : Android.Hardware.SensorType -> System.Collections.Generic.IList<Android.Hardware.Sensor>

Parameters

type
SensorType

of sensors requested

Returns

IList<Sensor>

a list of dynamic sensors matching the requested type.

Attributes

Remarks

Java documentation for android.hardware.SensorManager.getDynamicSensorList(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to