HERE Android SDK Developer's Guide

Signpost

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

Class Summary

public final class Signpost

extends java.lang.Object

This class stores signpost information along the Route.

[For complete information, see the section Class Details]

See also:

Maneuver

Nested Class Summary

Table 1. Nested Classes in Signpost
Nested Classes

public static final class Signpost.LocalizedLabel

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

Method Summary

Table 2. Methods in Signpost
Methods

public int getBackgroundColor ()

Return the background color of this signpost using ARGB (Alpha/Red/Green/Blue)

public java.util.List <LocalizedLabel> getExitDirections ()

Returns the directions on the Signpost.

public Image getExitIcon ()

Returns the exit Signpost icon.

public String getExitNumber ()

Returns the exit number on the Signpost

public String getExitText ()

Returns the exit text on the Signpost

public int getForegroundColor ()

Return the foreground/text color of this signpost using ARGB (Alpha/Red/Green/Blue)

Class Details

This class stores signpost information along the Route.

See also:

Maneuver

Method Details

public int getBackgroundColor ()

Return the background color of this signpost using ARGB (Alpha/Red/Green/Blue)

Returns:

The background color of this signpost

See also:

android.graphics.Color

public java.util.List <LocalizedLabel> getExitDirections ()

Returns the directions on the Signpost.

Returns:

a list of directions (empty list if none available).

public Image getExitIcon ()

Returns the exit Signpost icon.

Returns:

Image

public String getExitNumber ()

Returns the exit number on the Signpost

Returns:

string presentation of the exit number

public String getExitText ()

Returns the exit text on the Signpost

Returns:

exit text

public int getForegroundColor ()

Return the foreground/text color of this signpost using ARGB (Alpha/Red/Green/Blue)

Returns:

The foreground/text color of this signpost

See also:

android.graphics.Color