Fields

Public Methods

Retrieves the location settings states from the intent extras. When the location
settings dialog finishes, you can use this method to retrieve the current location
settings states from the intent in your
onActivityResult(int, int, Intent);

public booleanisBlePresent()

Whether BLE is present on the device.

public booleanisBleUsable()

Whether BLE is enabled and is usable by the app.

public booleanisGpsPresent()

Whether GPS provider is present on the device.

public booleanisGpsUsable()

Whether GPS provider is enabled and is usable by the app.

public booleanisLocationPresent()

Whether location is present on the device.

This method returns true when either GPS or network location provider is
present.

public booleanisLocationUsable()

Whether location is enabled and is usable by the app.

This method returns true when either GPS or network location provider is usable.