SettingsApi

This interface was deprecated.
Use GoogleApi-based API SettingsClient
instead.

The main entry point for interacting with the location settings-enabler APIs.

This API makes it easy for an app to ensure that the device's system settings are properly
configured for the app's location needs.

When making a request to location services, the device's system settings may be in a state
that prevents an app from obtaining the location data that it needs. For example, GPS or
Wi-Fi scanning may be switched off. This intent makes it easy to:

Determine if the relevant system settings are enabled on the device to carry out the
desired location request.

Optionally, invoke a dialog that allows the user to enable the necessary location
settings with a single tap.

To use this API, first create a GoogleApiClient which supports at least LocationServices.API.
Then connect the client to Google Play services: