共用方式為


GnssStatus.HasCarrierFrequencyHz(Int32) Method

Definition

Reports whether a valid #getCarrierFrequencyHz(int satelliteIndex) is available.

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

Parameters

satelliteIndex
Int32

An index from zero to #getSatelliteCount() - 1

Returns

Attributes

Remarks

Reports whether a valid #getCarrierFrequencyHz(int satelliteIndex) is available.

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