Class Route
Definition
- Assembly:
- Tizen.Maps.dll
Route information, used in Route Search requests.
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public class Route : IDisposable
- Inheritance
-
objectRoute
- Implements
-
System.IDisposable
Properties
View SourceDestination
Gets an instance of Geocoordinates object representing destination coordinates for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public Geocoordinates Destination { get; }
Property Value
Type | Description |
---|---|
Geocoordinates |
Distance
Gets the total distance for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public double Distance { get; }
Property Value
Type | Description |
---|---|
double |
Duration
Get the total duration to cover this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public double Duration { get; }
Property Value
Type | Description |
---|---|
double |
Id
Gets an ID for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Mode
Gets the transport mode for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public TransportMode Mode { get; }
Property Value
Type | Description |
---|---|
TransportMode |
Origin
Gets the origin coordinates for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public Geocoordinates Origin { get; }
Property Value
Type | Description |
---|---|
Geocoordinates |
Path
Gets a coordinates list for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public IEnumerable<Geocoordinates> Path { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Geocoordinates> |
Segments
Gets a segment list for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public IEnumerable<RouteSegment> Segments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><RouteSegment> |
Unit
Gets the distance unit for this route.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public DistanceUnit Unit { get; }
Property Value
Type | Description |
---|---|
DistanceUnit |
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
public void Dispose()
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
[Obsolete("Deprecated since API11. Might be removed in API13.")]
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | If true, managed and unmanaged resources can be disposed, otherwise only unmanaged resources can be disposed. |
~Route()
Destroy the Route object.
Declaration
protected ~Route()
Implements
System.IDisposable