Most visited

Recently visited

Added in API level 3
Deprecated since API level 24

GpsStatus.Listener

public static interface GpsStatus.Listener

android.location.GpsStatus.Listener


This interface was deprecated in API level 24.
use GnssStatus.Callback instead.

Used for receiving notifications when GPS status has changed.

Summary

Public methods

abstract void onGpsStatusChanged(int event)

Called to report changes in the GPS status.

Public methods

onGpsStatusChanged

Added in API level 3
void onGpsStatusChanged (int event)

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

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

Parameters
event int: event number for this notification

Hooray!