語言

GnssStatus.GetConstellationType(Int32) 方法

定義

取得指定索引下的衛星星座類型。

[Android.Runtime.Register("getConstellationType", "(I)I", "", ApiSince=24)]
public Android.Locations.GnssConstellationType GetConstellationType(int satelliteIndex);
[<Android.Runtime.Register("getConstellationType", "(I)I", "", ApiSince=24)>]
member this.GetConstellationType : int -> Android.Locations.GnssConstellationType

參數

satelliteIndex
Int32

從零到 #getSatelliteCount() -1的指標

傳回

價值屬於以下之一:CONSTELLATION_UNKNOWN;CONSTELLATION_GPS;CONSTELLATION_SBAS;CONSTELLATION_GLONASS;CONSTELLATION_QZSS;CONSTELLATION_BEIDOU;CONSTELLATION_GALILEO;CONSTELLATION_IRNSS

屬性

備註

取得指定索引下的衛星星座類型。

Java 文件 android.location.GnssStatus.getConstellationType(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於