GnssStatus.Builder.AddSatellite 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.
Overloads
| Name | Description |
|---|---|
| AddSatellite(Int32, Int32, Single, Single, Single, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Single) |
Adds a new satellite to the Builder. |
| AddSatellite(Int32, Int32, Single, Single, Single, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Single, Boolean, String, Boolean, Int64, Boolean, Double) |
Adds a new satellite to the Builder. |
AddSatellite(Int32, Int32, Single, Single, Single, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Single)
Adds a new satellite to the Builder.
[Android.Runtime.Register("addSatellite", "(IIFFFZZZZFZF)Landroid/location/GnssStatus$Builder;", "", ApiSince=30)]
public Android.Locations.GnssStatus.Builder AddSatellite(int constellationType, int svid, float cn0DbHz, float elevation, float azimuth, bool hasEphemeris, bool hasAlmanac, bool usedInFix, bool hasCarrierFrequency, float carrierFrequency, bool hasBasebandCn0DbHz, float basebandCn0DbHz);
[<Android.Runtime.Register("addSatellite", "(IIFFFZZZZFZF)Landroid/location/GnssStatus$Builder;", "", ApiSince=30)>]
member this.AddSatellite : int * int * single * single * single * bool * bool * bool * bool * single * bool * single -> Android.Locations.GnssStatus.Builder
Parameters
- constellationType
- Int32
one of the CONSTELLATION_* constants. Value is one of the following: GnssStatus.CONSTELLATION_UNKNOWN; GnssStatus.CONSTELLATION_GPS; GnssStatus.CONSTELLATION_SBAS; GnssStatus.CONSTELLATION_GLONASS; GnssStatus.CONSTELLATION_QZSS; GnssStatus.CONSTELLATION_BEIDOU; GnssStatus.CONSTELLATION_GALILEO; GnssStatus.CONSTELLATION_IRNSS
- svid
- Int32
the space vehicle identifier. Value is between 1 and 200 inclusive
- cn0DbHz
- Single
carrier-to-noise density at the antenna in dB-Hz. Value is between 0.0f and 63.0f inclusive
- elevation
- Single
satellite elevation in degrees. Value is between -90.0f and 90.0f inclusive
- azimuth
- Single
satellite azimuth in degrees. Value is between 0.0f and 360.0f inclusive
- hasEphemeris
- Boolean
whether the satellite has ephemeris data
- hasAlmanac
- Boolean
whether the satellite has almanac data
- usedInFix
- Boolean
whether the satellite was used in the most recent location fix
- hasCarrierFrequency
- Boolean
whether carrier frequency data is available
- carrierFrequency
- Single
satellite carrier frequency in Hz. Value is 0.0f or greater
- hasBasebandCn0DbHz
- Boolean
whether baseband carrier-to-noise density is available
- basebandCn0DbHz
- Single
baseband carrier-to-noise density in dB-Hz. Value is between 0.0f and 63.0f inclusive
Returns
- Attributes
Remarks
Adds a new satellite to the Builder.
Android reference for android.location.GnssStatus.Builder.addSatellite.
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
AddSatellite(Int32, Int32, Single, Single, Single, Boolean, Boolean, Boolean, Boolean, Single, Boolean, Single, Boolean, String, Boolean, Int64, Boolean, Double)
Adds a new satellite to the Builder.
[Android.Runtime.Register("addSatellite", "(IIFFFZZZZFZFZLjava/lang/String;ZJZD)Landroid/location/GnssStatus$Builder;", "", ApiSince=37)]
public Android.Locations.GnssStatus.Builder AddSatellite(int constellationType, int svid, float cn0DbHz, float elevation, float azimuth, bool hasEphemeris, bool hasAlmanac, bool usedInFix, bool hasCarrierFrequency, float carrierFrequency, bool hasBasebandCn0DbHz, float basebandCn0DbHz, bool hasCodeType, string codeType, bool hasElapsedRealtimeNanos, long elapsedRealtimeNanos, bool hasElapsedRealtimeUncertaintyNanos, double elapsedRealtimeUncertaintyNanos);
[<Android.Runtime.Register("addSatellite", "(IIFFFZZZZFZFZLjava/lang/String;ZJZD)Landroid/location/GnssStatus$Builder;", "", ApiSince=37)>]
member this.AddSatellite : int * int * single * single * single * bool * bool * bool * bool * single * bool * single * bool * string * bool * int64 * bool * double -> Android.Locations.GnssStatus.Builder
Parameters
- constellationType
- Int32
one of the CONSTELLATION_* constants. Value is one of the following: GnssStatus.CONSTELLATION_UNKNOWN; GnssStatus.CONSTELLATION_GPS; GnssStatus.CONSTELLATION_SBAS; GnssStatus.CONSTELLATION_GLONASS; GnssStatus.CONSTELLATION_QZSS; GnssStatus.CONSTELLATION_BEIDOU; GnssStatus.CONSTELLATION_GALILEO; GnssStatus.CONSTELLATION_IRNSS
- svid
- Int32
the space vehicle identifier. Value is between 1 and 200 inclusive
- cn0DbHz
- Single
carrier-to-noise density at the antenna in dB-Hz. Value is between 0.0f and 63.0f inclusive
- elevation
- Single
satellite elevation in degrees. Value is between -90.0f and 90.0f inclusive
- azimuth
- Single
satellite azimuth in degrees. Value is between 0.0f and 360.0f inclusive
- hasEphemeris
- Boolean
whether the satellite has ephemeris data
- hasAlmanac
- Boolean
whether the satellite has almanac data
- usedInFix
- Boolean
whether the satellite was used in the most recent location fix
- hasCarrierFrequency
- Boolean
whether carrier frequency data is available
- carrierFrequency
- Single
satellite carrier frequency in Hz. Value is 0.0f or greater
- hasBasebandCn0DbHz
- Boolean
whether baseband carrier-to-noise density is available
- basebandCn0DbHz
- Single
baseband carrier-to-noise density in dB-Hz. Value is between 0.0f and 63.0f inclusive
- hasCodeType
- Boolean
whether codetype is available
- codeType
- String
the code type as defined in GnssMeasurement.getCodeType() 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
- hasElapsedRealtimeNanos
- Boolean
whether the elapsedRealtimeNanos is available
- elapsedRealtimeNanos
- Int64
the elapsed real-time of this GnssStatus since system boot, in nanoseconds. Value is 0 or greater
- hasElapsedRealtimeUncertaintyNanos
- Boolean
whether the elapsedRealTimeUncertanityNanos is available
- elapsedRealtimeUncertaintyNanos
- Double
estimate of the relative precision of the alignment of this GnssStatus timestamp, with the reported measurements in nanoseconds (68% confidence). Value is 0.0f or greater
Returns
- Attributes
Remarks
Adds a new satellite to the Builder.
Android reference for android.location.GnssStatus.Builder.addSatellite.
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.