Skip to content

Instantly share code, notes, and snippets.

@jerdog
Created May 26, 2017 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jerdog/07091c88c7ee740c12a588380e9ad26b to your computer and use it in GitHub Desktop.
Save jerdog/07091c88c7ee740c12a588380e9ad26b 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 onStarted method here
...
}
@Override
public void onFirstFix(int ttffMillis) {
super.onFirstFix(ttffMillis);
// Handle onStarted method here
...
}
@Override
public void onSatelliteStatusChanged(GnssStatus status) {
super.onSatelliteStatusChanged(status);
// Handle onStarted method here
...
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment