Class Route

Definition

Namespace:
Tizen.Maps
Assembly:
Tizen.Maps.dll
API Level:
3

Route information, used in Route Search requests.

C#
Copy
public class Route : IDisposable
Inheritance
System.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
API Level: 3
View Source

Distance

Gets the total distance for this route.

Declaration
C#
Copy
public double Distance { get; }
Property Value
Type Description
System.Double
API Level: 3
View Source

Duration

Get the total duration to cover this route.

Declaration
C#
Copy
public double Duration { get; }
Property Value
Type Description
System.Double
API Level: 3
View Source

Id

Gets an ID for this route.

Declaration
C#
Copy
public string Id { get; }
Property Value
Type Description
System.String
API Level: 3
View Source

Mode

Gets the transport mode for this route.

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

Origin

Gets the origin coordinates for this route.

Declaration
C#
Copy
public Geocoordinates Origin { get; }
Property Value
Type Description
Geocoordinates
API Level: 3
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<Geocoordinates>
API Level: 3
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<RouteSegment>
API Level: 3
View Source

Unit

Gets the distance unit for this route.

Declaration
C#
Copy
public DistanceUnit Unit { get; }
Property Value
Type Description
DistanceUnit
API Level: 3

Methods

View Source

Dispose()

Releases all the resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

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
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 Route object.

Declaration
C#
Copy
protected void Finalize()

Implements

System.IDisposable