Class Route

    Definition

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

    Route information, used in Route Search requests.

    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
    public Geocoordinates Destination { get; }
    Property Value
    Type Description
    Geocoordinates
    View Source

    Distance

    Gets the total distance for this route.

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

    Duration

    Get the total duration to cover this route.

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

    Id

    Gets an ID for this route.

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

    Mode

    Gets the transport mode for this route.

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

    Origin

    Gets the origin coordinates for this route.

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

    Path

    Gets a coordinates list for this route.

    Declaration
    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
    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
    public DistanceUnit Unit { get; }
    Property Value
    Type Description
    DistanceUnit

    Methods

    View Source

    Dispose()

    Releases all the resources used by this object.

    Declaration
    public void Dispose()
    View Source

    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.

    View Source

    ~Route()

    Destroy the Route object.

    Declaration
    protected ~Route()

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX