LocationListenerCompat

public interface LocationListenerCompat
implements LocationListener

androidx.core.location.LocationListenerCompat


A version of LocationListener suitable for use on all API levels.

Summary

Public methods

default void onProviderDisabled(String provider)
default void onProviderEnabled(String provider)
default void onStatusChanged(String provider, int status, Bundle extras)

Inherited methods

Public methods

onProviderDisabled

public void onProviderDisabled (String provider)

Parameters
provider String

onProviderEnabled

public void onProviderEnabled (String provider)

Parameters
provider String

onStatusChanged

public void onStatusChanged (String provider, 
                int status, 
                Bundle extras)

Parameters
provider String

status int

extras Bundle