HERE Android SDK Developer's Guide

LocalizedLabel

The class LocalizedLabel is a member of com.here.android.mpa.routing.Signpost.

Class Summary

public static final class Signpost.LocalizedLabel

extends java.lang.Object

Signpost information can be used for navigation (both audible and graphical/textual navigation) and map display.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in LocalizedLabel
Methods

public String getLanguage ()

Three letter MARC language tag.

public String getRouteDirection ()

Contains the cardinal direction.

public String getRouteName ()

Contains the route name/route number of the label.

public String getText ()

Usually it contains auxiliary information like city name or characteristic place (for example: "airport").

public String toString ()

For documentation, see java.lang.Object

Class Details

Signpost information can be used for navigation (both audible and graphical/textual navigation) and map display. In Europe, the label Text is most relevant for guidance, while in the North America, both Route Name and Direction information are most relevant.

Method Details

public String getLanguage ()

Three letter MARC language tag.

Returns:

A string representing the language.

public String getRouteDirection ()

Contains the cardinal direction.

Returns:

String with the direction.

public String getRouteName ()

Contains the route name/route number of the label. Since the origin data is not always consistent it is advisable to concatenate the route name and route direction fields There are for example cases in which the direction is already contained in the route name.

Returns:

String with the route name.

See also:

getRouteName()

getRouteDirection()

public String getText ()

Usually it contains auxiliary information like city name or characteristic place (for example: "airport").

Returns:

String with auxilary information.

public String toString ()

For documentation, see java.lang.Object