LocationManagerCompat
class LocationManagerCompat
kotlin.Any | |
↳ | androidx.core.location.LocationManagerCompat |
Helper for accessing features in LocationManager
.
Summary
Public methods |
|
---|---|
static Boolean |
isLocationEnabled(@NonNull locationManager: LocationManager) Returns the current enabled/disabled state of location. |
Public methods
isLocationEnabled
static fun isLocationEnabled(@NonNull locationManager: LocationManager): Boolean
Returns the current enabled/disabled state of location.
Return | |
---|---|
Boolean: true if location is enabled and false if location is disabled. |