共用方式為


GeomagneticField.GetY Method

Definition

[Android.Runtime.Register("getY", "()F", "GetGetYHandler")]
public virtual float GetY ();
[<Android.Runtime.Register("getY", "()F", "GetGetYHandler")>]
abstract member GetY : unit -> single
override this.GetY : unit -> single

Returns

The Y (eastward) component of the magnetic field in nanoteslas.

Attributes

Remarks

Java documentation for android.hardware.GeomagneticField.getY().

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