Package com.amazon.A3L.location
Class A3LLocationSettingsRequest.Builder
- java.lang.Object
- 
- com.amazon.A3L.location.A3LLocationSettingsRequest.Builder
 
- 
- Enclosing class:
- A3LLocationSettingsRequest
 
 public static class A3LLocationSettingsRequest.Builder extends java.lang.ObjectA builder that buildsA3LLocationSettingsRequest.
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description A3LLocationSettingsRequest.BuilderaddAllLocationRequests(java.util.Collection<A3LLocationRequest> requests)Adds a collection ofA3LLocationRequests that the client is interested in.A3LLocationSettingsRequest.BuilderaddLocationRequest(A3LLocationRequest request)Adds oneA3LLocationRequestthat the client is interested in.A3LLocationSettingsRequestbuild()Creates a LocationSettingsRequest that can be used with SettingsApi.A3LLocationSettingsRequest.BuildersetAlwaysShow(boolean show)Whether or not location is required by the calling app in order to continue.A3LLocationSettingsRequest.BuildersetNeedBle(boolean needBle)Sets whether the client wants BLE scan to be enabled.
 
- 
- 
- 
Method Detail- 
addAllLocationRequests@NonNull public A3LLocationSettingsRequest.Builder addAllLocationRequests(@NonNull java.util.Collection<A3LLocationRequest> requests) Adds a collection ofA3LLocationRequests that the client is interested in. Settings will be checked for optimal performance of allA3LLocationRequests.
 - 
addLocationRequest@NonNull public A3LLocationSettingsRequest.Builder addLocationRequest(@NonNull A3LLocationRequest request) Adds oneA3LLocationRequestthat the client is interested in. Settings will be checked for optimal performance of allA3LLocationRequests.
 - 
build@NonNull public A3LLocationSettingsRequest build() Creates a LocationSettingsRequest that can be used with SettingsApi.
 - 
setAlwaysShow@NonNull public A3LLocationSettingsRequest.Builder setAlwaysShow(boolean show) Whether or not location is required by the calling app in order to continue. Set this to true if location is required to continue and false if having location provides better results, but is not required. This changes the wording/appearance of the dialog accordingly.
 - 
setNeedBle@NonNull public A3LLocationSettingsRequest.Builder setNeedBle(boolean needBle) Sets whether the client wants BLE scan to be enabled. When this flag is set to true, if the platform supports BLE scan mode and Bluetooth is off, the dialog will prompt the user to enable BLE scan. If the platform doesn't support BLE scan mode, the dialog will prompt to enable Bluetooth.
 
- 
 
-