public abstract static class GnssStatus.Callback extends Object
Constructor and Description |
---|
Callback() |
Modifier and Type | Method and Description |
---|---|
void |
onFirstFix(int ttffMillis)
Called when the GNSS system has received its first fix since starting.
|
void |
onSatelliteStatusChanged(GnssStatus status)
Called periodically to report GNSS satellite status.
|
void |
onStarted()
Called when GNSS system has started.
|
void |
onStopped()
Called when GNSS system has stopped.
|
public void onStarted()
public void onStopped()
public void onFirstFix(int ttffMillis)
ttffMillis
- the time from start to first fix in milliseconds.public void onSatelliteStatusChanged(GnssStatus status)
status
- the current status of all satellites.