HERE Android SDK Developer's Guide

TransitType

The enumeration TransitType is a member of com.here.android.mpa.common .

Enumeration Summary

public final enumeration TransitType

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

Represents values describing the types of transit that an application user might take.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in TransitType
Fields

public static final TransitType BUS_PUBLIC

A public bus.

public static final TransitType BUS_TOURISTIC

A tourist bus.

public static final TransitType BUS_INTERCITY

An intercity bus.

public static final TransitType BUS_EXPRESS

An express bus.

public static final TransitType RAIL_METRO

A metro railway.

public static final TransitType RAIL_LIGHT

A light railway.

public static final TransitType RAIL_REGIONAL

A regional railway.

public static final TransitType TRAIN_REGIONAL

A regional train.

public static final TransitType TRAIN_INTERCITY

An intercity train.

public static final TransitType TRAIN_HIGH_SPEED

A high-speed train.

public static final TransitType MONORAIL

Monorail

public static final TransitType AERIAL

Aerial transit.

public static final TransitType INCLINED

Inclined transit.

public static final TransitType WATER

A water taxi or ferry.

public static final TransitType AIRLINE

An airline.

public static final TransitType UNKNOWN

An unknown transit type.

public static final TransitType TRAIN_INTERREGIONAL_AND_FAST

An inter-regional and fast train.

public static final TransitType ORDERED_SERVICES_OR_TAXI

An ordered services or taxi.

Method Summary

Table 2. Methods in TransitType
Methods

public static TransitType valueOf (String name)

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

public static TransitType[] values ()

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 the types of transit that an application user might take.

Enum Constant Details

public static final TransitType BUS_PUBLIC

A public bus.

public static final TransitType BUS_TOURISTIC

A tourist bus.

public static final TransitType BUS_INTERCITY

An intercity bus.

public static final TransitType BUS_EXPRESS

An express bus.

public static final TransitType RAIL_METRO

A metro railway.

public static final TransitType RAIL_LIGHT

A light railway.

public static final TransitType RAIL_REGIONAL

A regional railway. Usually represents in-city services (such as commuter rail, RER, SBahn) that have a high frequency and lower speed.

public static final TransitType TRAIN_REGIONAL

A regional train. Usually represents intercity services (such as an Amtrak, DB, SNCF) that are infrequent and travel at high speeds.

public static final TransitType TRAIN_INTERCITY

An intercity train.

public static final TransitType TRAIN_HIGH_SPEED

A high-speed train.

public static final TransitType MONORAIL

Monorail

public static final TransitType AERIAL

Aerial transit.

public static final TransitType INCLINED

Inclined transit.

public static final TransitType WATER

A water taxi or ferry.

public static final TransitType AIRLINE

An airline.

public static final TransitType UNKNOWN

An unknown transit type.

public static final TransitType TRAIN_INTERREGIONAL_AND_FAST

An inter-regional and fast train.

public static final TransitType ORDERED_SERVICES_OR_TAXI

An ordered services or taxi.

Method Details

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

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