Class Route

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll

Route information, used in Route Search requests.

C#
Copy
public class Route : IDisposable
Inheritance
object
Route
Implements
System.IDisposable

Properties

View Source

Destination

Gets an instance of Geocoordinates object representing destination coordinates for this route.

Declaration
C#
Copy
public Geocoordinates Destination { get; }
Property Value
Type Description
Geocoordinates
View Source

Distance

Gets the total distance for this route.

Declaration
C#
Copy
public double Distance { get; }
Property Value
Type Description
double
View Source

Duration

Get the total duration to cover this route.

Declaration
C#
Copy
public double Duration { get; }
Property Value
Type Description
double
View Source

Id

Gets an ID for this route.

Declaration
C#
Copy
public string Id { get; }
Property Value
Type Description
string
View Source

Mode

Gets the transport mode for this route.

Declaration
C#
Copy
public TransportMode Mode { get; }
Property Value
Type Description
TransportMode
View Source

Origin

Gets the origin coordinates for this route.

Declaration
C#
Copy
public Geocoordinates Origin { get; }
Property Value
Type Description
Geocoordinates
View Source

Path

Gets a coordinates list for this route.

Declaration
C#
Copy
public IEnumerable<Geocoordinates> Path { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><Geocoordinates>
View Source

Segments

Gets a segment list for this route.

Declaration
C#
Copy
public IEnumerable<RouteSegment> Segments { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><RouteSegment>
View Source

Unit

Gets the distance unit for this route.

Declaration
C#
Copy
public DistanceUnit Unit { get; }
Property Value
Type Description
DistanceUnit

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
View Source

Dispose(bool)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
C#
Copy
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.

View Source

~Route()

Destroy the Route object.

Declaration
C#
Copy
protected ~Route()

Implements

System.IDisposable