Class Route
Definition
- Assembly:
- Tizen.Maps.dll
Route information, used in Route Search requests.
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
public Geocoordinates Destination { get; }
Property Value
Type | Description |
---|---|
Geocoordinates |
Distance
Gets the total distance for this route.
Declaration
public double Distance { get; }
Property Value
Type | Description |
---|---|
double |
Duration
Get the total duration to cover this route.
Declaration
public double Duration { get; }
Property Value
Type | Description |
---|---|
double |
Id
Gets an ID for this route.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Mode
Gets the transport mode for this route.
Declaration
public TransportMode Mode { get; }
Property Value
Type | Description |
---|---|
TransportMode |
Origin
Gets the origin coordinates for this route.
Declaration
public Geocoordinates Origin { get; }
Property Value
Type | Description |
---|---|
Geocoordinates |
Path
Gets a coordinates list for this route.
Declaration
public IEnumerable<Geocoordinates> Path { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><Geocoordinates> |
Segments
Gets a segment list for this route.
Declaration
public IEnumerable<RouteSegment> Segments { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><RouteSegment> |
Unit
Gets the distance unit for this route.
Declaration
public DistanceUnit Unit { get; }
Property Value
Type | Description |
---|---|
DistanceUnit |
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
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