TransportMode
The enumeration TransportMode is a member of com.here.android.mpa.routing.RouteOptions.
Enumeration Summary
public static final enumeration RouteOptions.TransportMode
extends java.lang.Enum, java.lang.Object
Represents values describing different mode of transportation a person will be using.
[For complete information, see the section Enumeration Details]
Enum Constant Summary
Fields |
---|
A car is being used as the mode of transportation. |
Walking is being used as the mode of transportation. |
Routing mode unknown or unsupported |
Method Summary
Methods |
---|
This method retrieves the enumeration value that matches the name specified by the caller. |
This method retrieves an array of constants of the given enum type in the order in which they are declared. |
Enumeration Details
Represents values describing different mode of transportation a person will be using. (for example, Car, or Pedestrian).
Enum Constant Details
public static final TransportMode CAR
A car is being used as the mode of transportation.
public static final TransportMode PEDESTRIAN
Walking is being used as the mode of transportation.
public static final TransportMode UNDEFINED
Routing mode unknown or unsupported
Method Details
public static TransportMode valueOf (String name)
This method retrieves the enumeration value that matches the name specified by the caller.
Parameters:
-
name
A string containing the name of the enumeration member whose value is to be retrieved.
public static RouteOptions.TransportMode[] values ()
This method retrieves an array of constants of the given enum type in the order in which they are declared.