Class Route
Definition
- Namespace:
- Tizen.Maps
- Assembly:
- Tizen.Maps.dll
- API Level:
- 3
Route information, used in Route Search requests.
public class Route : IDisposable
- Inheritance
-
Route
- Implements
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 |
API Level: 3
View SourceDistance
Gets the total distance for this route.
Declaration
public double Distance { get; }
Property Value
Type | Description |
---|---|
Double |
API Level: 3
View SourceDuration
Get the total duration to cover this route.
Declaration
public double Duration { get; }
Property Value
Type | Description |
---|---|
Double |
API Level: 3
View SourceId
Gets an ID for this route.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
View SourceMode
Gets the transport mode for this route.
Declaration
public TransportMode Mode { get; }
Property Value
Type | Description |
---|---|
TransportMode |
API Level: 3
View SourceOrigin
Gets the origin coordinates for this route.
Declaration
public Geocoordinates Origin { get; }
Property Value
Type | Description |
---|---|
Geocoordinates |
API Level: 3
View SourcePath
Gets a coordinates list for this route.
Declaration
public IEnumerable<Geocoordinates> Path { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Geocoordinates> |
API Level: 3
View SourceSegments
Gets a segment list for this route.
Declaration
public IEnumerable<RouteSegment> Segments { get; }
Property Value
Type | Description |
---|---|
IEnumerable<RouteSegment> |
API Level: 3
View SourceUnit
Gets the distance unit for this route.
Declaration
public DistanceUnit Unit { get; }
Property Value
Type | Description |
---|---|
DistanceUnit |
API Level: 3
Methods
View SourceDispose()
Releases all the resources used by this object.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(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 SourceFinalize()
Destroy the Route object.
Declaration
protected void Finalize()