共用方式為


GnssStatus.HasAlmanacData(Int32) Method

Definition

Reports whether the satellite at the specified index has almanac data.

[Android.Runtime.Register("hasAlmanacData", "(I)Z", "", ApiSince=24)]
public bool HasAlmanacData (int satelliteIndex);
[<Android.Runtime.Register("hasAlmanacData", "(I)Z", "", ApiSince=24)>]
member this.HasAlmanacData : int -> bool

Parameters

satelliteIndex
Int32

An index from zero to #getSatelliteCount() - 1

Returns

Attributes

Remarks

Reports whether the satellite at the specified index has almanac data.

Java documentation for android.location.GnssStatus.hasAlmanacData(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