HERE Android SDK Developer's Guide

LinkType

The enumeration LinkType is a member of com.here.android.mpa.urbanmobility.Link.

Enumeration Summary

public static final enumeration Link.LinkType

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

Type of the link as enum for convenient use.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in LinkType
Fields

public static final LinkType AGENCY

Link type agency: Operator information URL.

public static final LinkType AGENCY_LOGO

Link type logo: Operator logo URL.

public static final LinkType TARIFF

Link type tariff: Tariff information URL.

public static final LinkType ALERT

Link type alert: Link to original source of transit alert (eg.

public static final LinkType WEBSITE

Link type website: Website URL.

public static final LinkType BOOKING

Link type booking: Booking url.

public static final LinkType UNKNOWN

Link type unknown.

Method Summary

Table 2. Methods in LinkType
Methods

public static LinkType valueOf (String name)

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

public static Link.LinkType[] values ()

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

Enumeration Details

Type of the link as enum for convenient use. The allowed values are:

Enum Constant Details

public static final LinkType AGENCY

Link type agency: Operator information URL.

Link type logo: Operator logo URL.

public static final LinkType TARIFF

Link type tariff: Tariff information URL.

public static final LinkType ALERT

Link type alert: Link to original source of transit alert (eg. Twitter page). There is not text in Link node when alert.

public static final LinkType WEBSITE

Link type website: Website URL.

public static final LinkType BOOKING

Link type booking: Booking url.

public static final LinkType UNKNOWN

Link type unknown.

Method Details

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

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