HERE Android SDK Developer's Guide

Severity

The enumeration Severity is a member of com.here.android.mpa.mapping.TrafficEvent.

Enumeration Summary

public static final enumeration TrafficEvent.Severity

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

Indicates the serverity of the traffic events.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in Severity
Fields

public static final Severity UNDEFINED

Undefined.

public static final Severity NORMAL

Normal.

public static final Severity HIGH

High.

public static final Severity VERY_HIGH

Very high.

public static final Severity BLOCKING

Blocking.

Method Summary

Table 2. Methods in Severity
Methods

public int getValue ()

public static Severity valueOf (String name)

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

public static TrafficEvent.Severity[] values ()

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

Enumeration Details

Indicates the serverity of the traffic events.

Enum Constant Details

public static final Severity UNDEFINED

Undefined.

public static final Severity NORMAL

Normal.

public static final Severity HIGH

High.

public static final Severity VERY_HIGH

Very high.

public static final Severity BLOCKING

Blocking.

Method Details

public int getValue ()

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

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