public class LocationSettingsStates
extends java.lang.Object
LocationSettingsResult when using the
SettingsApi.| Constructor and Description |
|---|
LocationSettingsStates(boolean gpsUsable,
boolean networkUsable,
boolean bleUsable,
boolean gpsPresent,
boolean networkPresent,
boolean blePresent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlePresent()
Is BLE available on this device.
|
boolean |
isBleUsable()
Is BLE enabled on this device.
|
boolean |
isGpsPresent()
Is GPS location available to be received on this device.
|
boolean |
isGpsUsable()
Is GPS location enabled on this device.
|
boolean |
isLocationPresent()
Is either GPS or Network location available to be received on this device.
|
boolean |
isLocationUsable()
Is either GPS or Network location enabled on this device.
|
boolean |
isNetworkLocationPresent()
Is Network location available to be received on this device.
|
boolean |
isNetworkLocationUsable()
Is Network location enabled on this device.
|
public LocationSettingsStates(boolean gpsUsable,
boolean networkUsable,
boolean bleUsable,
boolean gpsPresent,
boolean networkPresent,
boolean blePresent)
public boolean isGpsUsable()
public boolean isGpsPresent()
public boolean isNetworkLocationUsable()
public boolean isNetworkLocationPresent()
public boolean isLocationUsable()
public boolean isLocationPresent()
public boolean isBleUsable()
public boolean isBlePresent()