Added in API level 3
Deprecated in API level 24

Listener


interface Listener
android.location.GpsStatus.Listener

Used for receiving notifications when GPS status has changed.

Summary

Public methods
abstract Unit

Called to report changes in the GPS status.

Public methods

onGpsStatusChanged

Added in API level 3
abstract fun onGpsStatusChanged(event: Int): Unit

Deprecated: Deprecated in Java.

Called to report changes in the GPS status. The event number is one of:

When this method is called, the client should call LocationManager.getGpsStatus to get additional status information.

Parameters
event Int: event number for this notification