Sensor.TypeHeading 字段

定义

注意

This constant will be removed in the future version. Use Android.Hardware.SensorType enum directly instead of this field.

描述标题传感器的常量字符串。

[Android.Runtime.Register("TYPE_HEADING", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.SensorType enum directly instead of this field.", true)]
public const Android.Hardware.SensorType TypeHeading = 42;
[<Android.Runtime.Register("TYPE_HEADING", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.SensorType enum directly instead of this field.", true)>]
val mutable TypeHeading : Android.Hardware.SensorType

字段值

Value = 42
属性

注解

描述标题传感器的常量字符串。

有关更多详细信息,请参阅android.hardware.SensorEvent#values SensorEvent.values

适用于 . 的 android.hardware.Sensor.TYPE_HEADINGJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于