Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piyushgupta27/6c5644ec6946c71d282fab035fda4ec6 to your computer and use it in GitHub Desktop.
Save piyushgupta27/6c5644ec6946c71d282fab035fda4ec6 to your computer and use it in GitHub Desktop.
HyperTrack API: Get GNSS Measurements
HyperTrack.setGnssStatusCallback(new GnssStatus.Callback() {
@Override
public void onStarted() {
super.onStarted();
// Handle onStarted method here
...
}
@Override
public void onStopped() {
super.onStopped();
// Handle onStopped method here
...
}
@Override
public void onFirstFix(int ttffMillis) {
super.onFirstFix(ttffMillis);
// Handle onFirstFix method here
...
}
@Override
public void onSatelliteStatusChanged(GnssStatus status) {
super.onSatelliteStatusChanged(status);
// Handle onSatelliteStatusChanged method here
...
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment