GpsEventListener

public interface GpsEventListener

Interface for listen location events

Author:Dmitry Baryshnikov

Methods

onBestLocationChanged

void onBestLocationChanged(Location location)

Executed then location object changed in gather statistic mode, for best accuracy

Параметры:
  • location – object

onGpsStatusChanged

void onGpsStatusChanged(int event)

Executed then GPS status changed

Параметры:
  • event – Id

onLocationChanged

void onLocationChanged(Location location)

Executed then location object changed

Параметры:
  • location – object