HERE Android SDK Developer's Guide

HazardousGoodType

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

Enumeration Summary

public static final enumeration RouteOptions.HazardousGoodType

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

Defines names for different types of hazardous goods that can be transported by a truck.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in HazardousGoodType
Fields

public static final HazardousGoodType EXPLOSIVE

Explosive material

public static final HazardousGoodType GAS

Gas

public static final HazardousGoodType FLAMMABLE

Flammable material

public static final HazardousGoodType COMBUSTIBLE

Combustible material

public static final HazardousGoodType ORGANIC

Organic material

public static final HazardousGoodType POISON

Poison

public static final HazardousGoodType RADIOACTIVE

Radio-active material

public static final HazardousGoodType CORROSIVE

Corrosive material

public static final HazardousGoodType POISONOUS_INHALATION

Goods which are poisonous upon inhalation

public static final HazardousGoodType HARMFUL_TO_WATER

Goods which are harmful to water

public static final HazardousGoodType OTHER

Other types of hazardous goods

Method Summary

Table 2. Methods in HazardousGoodType
Methods

public static HazardousGoodType getType (int value)

public int toInt ()

public static HazardousGoodType valueOf (String name)

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

public static RouteOptions.HazardousGoodType[] values ()

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

Enumeration Details

Defines names for different types of hazardous goods that can be transported by a truck.

Enum Constant Details

public static final HazardousGoodType EXPLOSIVE

Explosive material

public static final HazardousGoodType GAS

Gas

public static final HazardousGoodType FLAMMABLE

Flammable material

public static final HazardousGoodType COMBUSTIBLE

Combustible material

public static final HazardousGoodType ORGANIC

Organic material

public static final HazardousGoodType POISON

Poison

public static final HazardousGoodType RADIOACTIVE

Radio-active material

public static final HazardousGoodType CORROSIVE

Corrosive material

public static final HazardousGoodType POISONOUS_INHALATION

Goods which are poisonous upon inhalation

public static final HazardousGoodType HARMFUL_TO_WATER

Goods which are harmful to water

public static final HazardousGoodType OTHER

Other types of hazardous goods

Method Details

public static HazardousGoodType getType (int value)

Parameters:

  • value

public int toInt ()

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

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