AI-generated Key Takeaways
-
LocationSettingsResponse is a successful response for checking location settings.
-
A failed task with this response type results in a ResolvableApiException.
-
The current location settings can be accessed using getLocationSettingsStates().
Successful response of checking settings via
SettingsApi.checkLocationSettings(GoogleApiClient, LocationSettingsRequest).
If a Task with this
response type fails, it will receive a ResolvableApiException
which may be able to resolve the failure. See SettingsClient
for more details.
The current location settings states can be accessed via
getLocationSettingsStates(). See LocationSettingsResult
for more details.
Public Method Summary
| LocationSettingsStates |
getLocationSettingsStates()
Retrieves the location settings states.
|
Inherited Method Summary
Public Methods
public LocationSettingsStates getLocationSettingsStates ()
Retrieves the location settings states.