GnssStatus.GetCodeType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the code type as defined in GnssMeasurement#getCodeType() of the satellite at
the specified index.
[Android.Runtime.Register("getCodeType", "(I)Ljava/lang/String;", "", ApiSince=37)]
[Android.Runtime.StringDef(Fields=new System.String[] { "CodeTypeA", "CodeTypeB", "CodeTypeC", "CodeTypeD", "CodeTypeE", "CodeTypeI", "CodeTypeL", "CodeTypeM", "CodeTypeN", "CodeTypeP", "CodeTypeQ", "CodeTypeS", "CodeTypeW", "CodeTypeX", "CodeTypeY", "CodeTypeZ", "CodeTypeUnknown" }, Type="Android.Locations.GnssMeasurement")]
public string GetCodeType(int satelliteIndex);
[<Android.Runtime.Register("getCodeType", "(I)Ljava/lang/String;", "", ApiSince=37)>]
[<Android.Runtime.StringDef(Fields=new System.String[] { "CodeTypeA", "CodeTypeB", "CodeTypeC", "CodeTypeD", "CodeTypeE", "CodeTypeI", "CodeTypeL", "CodeTypeM", "CodeTypeN", "CodeTypeP", "CodeTypeQ", "CodeTypeS", "CodeTypeW", "CodeTypeX", "CodeTypeY", "CodeTypeZ", "CodeTypeUnknown" }, Type="Android.Locations.GnssMeasurement")>]
member this.GetCodeType : int -> string
Parameters
- satelliteIndex
- Int32
An index from zero to #getSatelliteCount() - 1
Returns
This value cannot be null. Value is one of the following: GnssMeasurement.CODE_TYPE_A; GnssMeasurement.CODE_TYPE_B; GnssMeasurement.CODE_TYPE_C; GnssMeasurement.CODE_TYPE_D; GnssMeasurement.CODE_TYPE_E; GnssMeasurement.CODE_TYPE_I; GnssMeasurement.CODE_TYPE_L; GnssMeasurement.CODE_TYPE_M; GnssMeasurement.CODE_TYPE_N; GnssMeasurement.CODE_TYPE_P; GnssMeasurement.CODE_TYPE_Q; GnssMeasurement.CODE_TYPE_S; GnssMeasurement.CODE_TYPE_W; GnssMeasurement.CODE_TYPE_X; GnssMeasurement.CODE_TYPE_Y; GnssMeasurement.CODE_TYPE_Z; GnssMeasurement.CODE_TYPE_UNKNOWN
- Attributes
Remarks
Gets the code type as defined in GnssMeasurement.getCodeType() of the satellite at the specified index.
Android reference for android.location.GnssStatus.getCodeType.
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.