# Print output for @column tags ?>
public
static
interface
GpsStatus.Listener
android.location.GpsStatus.Listener |
This interface is deprecated.
Use GnssStatus.Callback
instead.
Used for receiving notifications when GPS status has changed.
Public methods | |
---|---|
abstract
void
|
onGpsStatusChanged(int event)
Called to report changes in the GPS status. |
public abstract void onGpsStatusChanged (int event)
Called to report changes in the GPS status. The event number is one of:
GpsStatus#GPS_EVENT_STARTED
GpsStatus#GPS_EVENT_STOPPED
GpsStatus#GPS_EVENT_FIRST_FIX
GpsStatus#GPS_EVENT_SATELLITE_STATUS
LocationManager#getGpsStatus
to get additional
status information.
Parameters | |
---|---|
event |
int : event number for this notification |