Listener
interfaceListener
android.location.GpsStatus.Listener |
Used for receiving notifications when GPS status has changed.
Summary
Public methods | |
---|---|
abstract Unit |
onGpsStatusChanged(event: Int) Called to report changes in the GPS status. |
Public methods
onGpsStatusChanged
Added in API level 3
abstract funonGpsStatusChanged(event: Int): Unit
Deprecated: Deprecated in Java.
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 |