public static final class LocationsManager.GetLearnedLocationsOptions extends Object
LearnedLocation
s.Constructor and Description |
---|
GetLearnedLocationsOptions()
Initialize a new instance of
LocationsManager.GetLearnedLocationsOptions class. |
GetLearnedLocationsOptions(boolean excludeSavedLocations,
boolean includeHiddenLocations)
Initialize a new instance of
LocationsManager.GetLearnedLocationsOptions class. |
Modifier and Type | Method and Description |
---|---|
void |
setExcludeSavedLocations(boolean value)
Set the property indicating whether learned locations which have been saved should be included
in the result.
|
void |
setIncludeHiddenLocations(boolean value)
Set the property indicating whether hidden
LearnedLocation s should be included in
the result. |
void |
setLocale(Locale locale)
Set the locale of the
LearnedLocation s. |
String |
toString() |
public GetLearnedLocationsOptions()
LocationsManager.GetLearnedLocationsOptions
class.public GetLearnedLocationsOptions(boolean excludeSavedLocations, boolean includeHiddenLocations)
LocationsManager.GetLearnedLocationsOptions
class.excludeSavedLocations
- true
if saved locations should be excluded, false
otherwise.includeHiddenLocations
- true
if hidden locations should be included, false
otherwise.public void setExcludeSavedLocations(boolean value)
true
.value
- true
if saved locations should be excluded, false
otherwise.public void setIncludeHiddenLocations(boolean value)
LearnedLocation
s should be included in
the result. Default value is false
.value
- true
if hidden locations should be included, false
otherwise.public void setLocale(Locale locale)
LearnedLocation
s.locale
- The locale or null
to use the default.Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.