HERE Android SDK Developer's Guide

TunnelCategory

The enumeration TunnelCategory is a member of com.here.android.mpa.routing.RouteOptions.

Enumeration Summary

public static final enumeration RouteOptions.TunnelCategory

extends java.lang.Enum, java.lang.Object

Specify the ADR tunnel category to restrict the truck route to.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in TunnelCategory
Fields

public static final TunnelCategory B

ADR tunnel category B

public static final TunnelCategory C

ADR tunnel category C

public static final TunnelCategory D

ADR tunnel category D

public static final TunnelCategory E

ADR tunnel category D

public static final TunnelCategory UNDEFINED

Undefined tunnel category

Method Summary

Table 2. Methods in TunnelCategory
Methods

public static TunnelCategory getCategory (int value)

public int toInt ()

public static TunnelCategory valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static RouteOptions.TunnelCategory[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Specify the ADR tunnel category to restrict the truck route to.

Enum Constant Details

public static final TunnelCategory B

ADR tunnel category B

public static final TunnelCategory C

ADR tunnel category C

public static final TunnelCategory D

ADR tunnel category D

public static final TunnelCategory E

ADR tunnel category D

public static final TunnelCategory UNDEFINED

Undefined tunnel category

Method Details

public static TunnelCategory getCategory (int value)

Parameters:

  • value

public int toInt ()

public static TunnelCategory 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.TunnelCategory[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.