Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
Preferences for route search requests.
public class SearchPreference : IGeocodePreference, IPlaceSearchPreference, IRouteSearchPreference, IDisposable
- Inheritance
-
System.Object
SearchPreference
- Implements
-
System.IDisposable
Constructors
View Source
SearchPreference()
Constructor for a new search preference.
Declaration
public SearchPreference()
API Level: 3
Properties
View Source
CountryCode
Gets or sets the preferred country.
Declaration
public string CountryCode { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
View Source
Language
Gets or sets a preferred language.
Declaration
public string Language { get; set; }
Property Value
Type |
Description |
System.String |
|
API Level: 3
View Source
MaxResults
Gets or sets the maximum result count for each service request.
Declaration
public int MaxResults { get; set; }
Property Value
API Level: 3
View Source
Mode
Gets or sets the route transport mode.
Declaration
public TransportMode Mode { get; set; }
Property Value
API Level: 3
View Source
Optimization
Gets or sets the route optimization.
Declaration
public RouteOptimization Optimization { get; set; }
Property Value
API Level: 3
View Source
Properties
Gets or sets the search properties as a key value pair.
Declaration
public IReadOnlyDictionary<string, string> Properties { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyDictionary<System.String, System.String> |
|
API Level: 3
View Source
RouteFeature
Gets or sets the route feature.
Declaration
public RouteFeature RouteFeature { get; set; }
Property Value
API Level: 3
View Source
RouteFeatureWeight
Gets or sets the route feature weight.
Declaration
public RouteFeatureWeight RouteFeatureWeight { get; set; }
Property Value
API Level: 3
View Source
SearchAlternativeRoutes
Gets or sets if the searching for alternative routes is enabled.
Declaration
public bool SearchAlternativeRoutes { get; set; }
Property Value
API Level: 3
Declaration
public DistanceUnit Unit { get; set; }
Property Value
API Level: 3
Methods
View Source
Dispose()
Releases all the resources used by this object.
Declaration
API Level: 3
View Source
Dispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed.
|
API Level: 3
View Source
Finalize()
Destroy the SearchPreference object.
Declaration
protected void Finalize()
Implements
System.IDisposable