java.lang.Object | |
↳ | com.google.android.gms.location.LocationSettingsRequest.Builder |
A builder that builds LocationSettingsRequest
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a collection of
LocationRequests that the client is
interested in.
| |||||||||||
Adds one
LocationRequest that the client is interested in.
| |||||||||||
Creates a LocationSettingsRequest that can be used with
SettingsApi .
| |||||||||||
This method currently does nothing.
| |||||||||||
Sets whether the client wants BLE to be enabled.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds a collection of LocationRequests
that the client is
interested in. Settings will be checked for optimal performance of all
LocationRequests
.
Adds one LocationRequest
that the client is interested in.
Settings will be checked for optimal performance of all
LocationRequests
.
Creates a LocationSettingsRequest that can be used with SettingsApi
.
This method currently does nothing. In a future release, we may introduce the ability for users to suppress future dialogs from a given app. Calling this method before invoking the dialog will hide this option from users. Use this method if and only if your dialog is the result of an explicit user-initiated action that requires location. Canceling this dialog should also cancel the initiated action in your app.
Sets whether the client wants BLE to be enabled.