Summary:
Methods
| Inherited Methods
LocationManagerCompat
public
final
class
LocationManagerCompat
extends Object
| java.lang.Object | |
| ↳ | androidx.core.location.LocationManagerCompat |
Helper for accessing features in LocationManager.
Summary
Public methods | |
|---|---|
static
boolean
|
isLocationEnabled(LocationManager locationManager)
Returns the current enabled/disabled state of location. |
Inherited methods | |
|---|---|
Public methods
isLocationEnabled
public static boolean isLocationEnabled (LocationManager locationManager)
Returns the current enabled/disabled state of location.
| Parameters | |
|---|---|
locationManager |
LocationManager |
| Returns | |
|---|---|
boolean |
true if location is enabled and false if location is disabled. |