Partager via


Context.SensorService Field

Definition

Use with #getSystemService(String) to retrieve a android.hardware.SensorManager for accessing sensors.

[Android.Runtime.Register("SENSOR_SERVICE")]
public const string SensorService;
[<Android.Runtime.Register("SENSOR_SERVICE")>]
val mutable SensorService : string

Field Value

Attributes

Remarks

Use with #getSystemService(String) to retrieve a android.hardware.SensorManager for accessing sensors.

Java documentation for android.content.Context.SENSOR_SERVICE.

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

See also