HERE Android SDK Developer's Guide

RoadType

The enumeration RoadType is a member of com.here.android.mpa.guidance.VoiceGuidanceOptions.

Enumeration Summary

public static final enumeration VoiceGuidanceOptions.RoadType

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

Represents the type of road.

[For complete information, see the section Enumeration Details]

See also:

setVoicePromptDistanceRangeFromPreviousManeuver(RoadType, VoicePromptType, Range)

getVoicePromptDistanceRangeFromPreviousManeuver(RoadType, VoicePromptType)

Enum Constant Summary

Table 1. Enum Constants in RoadType
Fields

public static final RoadType NON_HIGHWAY

Non highway, regular road.

public static final RoadType HIGHWAY

Highway road.

Method Summary

Table 2. Methods in RoadType
Methods

public static RoadType valueOf (String name)

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

public static VoiceGuidanceOptions.RoadType[] values ()

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

Enumeration Details

Represents the type of road. Used to configure voice prompts strategy.

See also:

setVoicePromptDistanceRangeFromPreviousManeuver(RoadType, VoicePromptType, Range)

getVoicePromptDistanceRangeFromPreviousManeuver(RoadType, VoicePromptType)

Enum Constant Details

public static final RoadType NON_HIGHWAY

Non highway, regular road.

public static final RoadType HIGHWAY

Highway road.

Method Details

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

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