SearchOptions class - search library - Dart API
SearchOptions
SearchOptions class
Encapsulates options that control the behavior of search and suggest operations.
Constructors
Properties
- distributedResults ↔ bool
-
Indicates if search along the route should produce well-distributed results.
It is only supported for:
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- highDensityEncodingEnabled ↔ bool
-
Allows enabling high density encoding of relevant parameters.
For now, it only affects input parameters of type
GeoCorridor. Only supported for search inSearchEngine, otherwise it is ignored. Note: This is a closed-alpha release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process. Only participants of the closed-alpha group can get access from HERE to use this feature, otherwise, a SearchError.forbidden will be propagated in callbacks.getter/setter pair - languageCode ↔ LanguageCode?
-
The preferred language of the result. When unset or unsupported language is chosen,
results will be returned in their local language.
getter/setter pair
- maxItems ↔ int?
-
The maximum number of items in the response. It should be in the range [1, 100].
When not set, results will be limited to 20.
For location search (reverse geocode) by default results limited to 1.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.