HERE Android SDK Developer's Guide

Type

The enumeration Type is a member of com.here.android.mpa.guidance.TrafficNotificationInfo.

Enumeration Summary

public static final enumeration TrafficNotificationInfo.Type

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

Type for a traffic notification, with regards to the current route

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Type
Fields

public static final Type UNDEFINED

Undefined.

public static final Type ON_ROUTE

On route.

public static final Type ON_HIGHWAY

On highway.

public static final Type NEAR_START

Near start.

public static final Type NEAR_STOPOVER

Near stopover.

public static final Type NEAR_DESTINATION

Near Destination.

Method Summary

Table 2. Methods in Type
Methods

public int value ()

public static Type valueOf (String name)

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

public static TrafficNotificationInfo.Type[] values ()

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

Enumeration Details

Type for a traffic notification, with regards to the current route

Enum Constant Details

public static final Type UNDEFINED

Undefined.

public static final Type ON_ROUTE

On route.

public static final Type ON_HIGHWAY

On highway.

public static final Type NEAR_START

Near start.

public static final Type NEAR_STOPOVER

Near stopover.

public static final Type NEAR_DESTINATION

Near Destination.

Method Details

public int value ()

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

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