共用方式為


SensorManager.GravityEarth Field

Definition

Earth's gravity in SI units (m/s^2)

[Android.Runtime.Register("GRAVITY_EARTH")]
public const float GravityEarth = 9.80665;
[<Android.Runtime.Register("GRAVITY_EARTH")>]
val mutable GravityEarth : single

Field Value

Value = 9.80665
Attributes

Remarks

Earth's gravity in SI units (m/s^2)

Java documentation for android.hardware.SensorManager.GRAVITY_EARTH.

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