-
@Serializable() public final class GnssConfiguration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGnssConfiguration.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Booleanenabledprivate final BooleancollectMeasurementsprivate final BooleancollectNavigationMessagesprivate final BooleancollectStatusprivate final BooleancollectLocationsprivate final BooleansubmitLocationsprivate final BooleancollectNmea
-
Method Summary
Modifier and Type Method Description final BooleangetEnabled()final BooleangetCollectMeasurements()Register the GnssMeasurementsEvent callback (raw pseudorange / carrier phase). final BooleangetCollectNavigationMessages()Register the GnssNavigationMessage callback (broadcast ephemeris subframes). final BooleangetCollectStatus()Register the GnssStatus callback (per-satellite signal strength). final BooleangetCollectLocations()Register the GPS_PROVIDER location request that keeps the GNSS engine hot for raw measurements. final BooleangetSubmitLocations()Whether GnssManager ALSO submits those GPS_PROVIDER fixes into the location stream. final BooleangetCollectNmea()Register NMEA message listener. -
-
Method Detail
-
getEnabled
final Boolean getEnabled()
-
getCollectMeasurements
final Boolean getCollectMeasurements()
Register the GnssMeasurementsEvent callback (raw pseudorange / carrier phase).
-
getCollectNavigationMessages
final Boolean getCollectNavigationMessages()
Register the GnssNavigationMessage callback (broadcast ephemeris subframes).
-
getCollectStatus
final Boolean getCollectStatus()
Register the GnssStatus callback (per-satellite signal strength).
-
getCollectLocations
final Boolean getCollectLocations()
Register the GPS_PROVIDER location request that keeps the GNSS engine hot for raw measurements. Keep true where raw pseudorange/carrier-phase are collected — on some chipsets the engine goes cold without an active location request.
-
getSubmitLocations
final Boolean getSubmitLocations()
Whether GnssManager ALSO submits those GPS_PROVIDER fixes into the location stream. Default false: LocationManager (fused/platform) owns the location stream, so submitting here too duplicates/interleaves fixes. Set true only to deliberately capture the raw GPS_PROVIDER track in addition to the primary source.
-
getCollectNmea
final Boolean getCollectNmea()
Register NMEA message listener.
-
-
-
-