HERE Android SDK Developer's Guide

VehicleType

The enumeration VehicleType is a member of com.here.android.mpa.tce.TollCostVehicleProfile.

Enumeration Summary

public static final enumeration TollCostVehicleProfile.VehicleType

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

Represent different Vehicle types.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in VehicleType
Fields

public static final VehicleType MOTORCYCLE

MotorCycle

public static final VehicleType AUTO

Auto

public static final VehicleType TRUCK

Truck

public static final VehicleType MOTOR_HOME

Motor Home

public static final VehicleType MINIBUS

Mini bus

public static final VehicleType BUS

Bus

public static final VehicleType MOTORCYCLE_SIDECAR

Motorcycle sidecar

public static final VehicleType TRICYLE

Tricycle

public static final VehicleType DELIVERY_TRUCK

Delivery Truck

public static final VehicleType SNOWMOBILE

Snow Mobile

public static final VehicleType PICK_UP

Pickup

public static final VehicleType TRACTOR

Tractor

public static final VehicleType TAXI

Taxi

public static final VehicleType HCM_EME

HCM/EME

Method Summary

Table 2. Methods in VehicleType
Methods

public static VehicleType valueOf (String name)

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

public static TollCostVehicleProfile.VehicleType[] values ()

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

Enumeration Details

Represent different Vehicle types.

Enum Constant Details

public static final VehicleType MOTORCYCLE

MotorCycle

public static final VehicleType AUTO

Auto

public static final VehicleType TRUCK

Truck

public static final VehicleType MOTOR_HOME

Motor Home

public static final VehicleType MINIBUS

Mini bus

public static final VehicleType BUS

Bus

public static final VehicleType MOTORCYCLE_SIDECAR

Motorcycle sidecar

public static final VehicleType TRICYLE

Tricycle

public static final VehicleType DELIVERY_TRUCK

Delivery Truck

public static final VehicleType SNOWMOBILE

Snow Mobile

public static final VehicleType PICK_UP

Pickup

public static final VehicleType TRACTOR

Tractor

public static final VehicleType TAXI

Taxi

public static final VehicleType HCM_EME

HCM/EME

Method Details

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

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