ResponseTravelMode Struct

Definition

Travel mode for the calculated route. The value will be set to other if the requested mode of transport is not possible in this section.

public readonly struct ResponseTravelMode : IEquatable<Azure.Maps.Routing.Models.ResponseTravelMode>
type ResponseTravelMode = struct
Public Structure ResponseTravelMode
Implements IEquatable(Of ResponseTravelMode)
Inheritance
ResponseTravelMode
Implements

Constructors

ResponseTravelMode(String)

Initializes a new instance of ResponseTravelMode.

Properties

Bicycle

The returned routes are optimized for bicycles, including use of bicycle lanes.

Bus

The returned routes are optimized for buses, including the use of bus only lanes. BETA functionality.

Car

The returned routes are optimized for cars.

Motorcycle

The returned routes are optimized for motorcycles. BETA functionality.

Other

The given mode of transport is not possible in this section.

Pedestrian

The returned routes are optimized for pedestrians, including the use of sidewalks.

Taxi

The returned routes are optimized for taxis. BETA functionality.

Truck

The returned routes are optimized for commercial vehicles, like for trucks.

Van

The returned routes are optimized for vans. BETA functionality.

Methods

Equals(ResponseTravelMode)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ResponseTravelMode, ResponseTravelMode)

Determines if two ResponseTravelMode values are the same.

Implicit(String to ResponseTravelMode)

Converts a string to a ResponseTravelMode.

Inequality(ResponseTravelMode, ResponseTravelMode)

Determines if two ResponseTravelMode values are not the same.

Applies to