HERE Android SDK Developer's Guide

AudioEvent

The enumeration AudioEvent is a member of com.here.android.mpa.guidance.NavigationManager.

Enumeration Summary

public static final enumeration NavigationManager.AudioEvent

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

Used for enabling/disabling audio events during navigation.

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in AudioEvent
Fields

public static final AudioEvent MANEUVER

Maneuver output (maneuvers, stop-overs reached, destination reached).

public static final AudioEvent ROUTE

Route output (re-routing, route recalculated).

public static final AudioEvent GPS

GPS output (GPS lost, GPS restored).

public static final AudioEvent SPEED_LIMIT

Speed limit audio output (exceeded limit start, exceeded limit end).

public static final AudioEvent SAFETY_SPOT

Safety spot audio output (approaching safety spot).

public static final AudioEvent VIBRATION

Vibration (during walk navigation only).

Method Summary

Table 2. Methods in AudioEvent
Methods

public static AudioEvent valueOf (String name)

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

public static NavigationManager.AudioEvent[] values ()

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

Enumeration Details

Used for enabling/disabling audio events during navigation. See setEnabledAudioEvents(EnumSet).

Enum Constant Details

public static final AudioEvent MANEUVER

Maneuver output (maneuvers, stop-overs reached, destination reached).

public static final AudioEvent ROUTE

Route output (re-routing, route recalculated).

public static final AudioEvent GPS

GPS output (GPS lost, GPS restored).

public static final AudioEvent SPEED_LIMIT

Speed limit audio output (exceeded limit start, exceeded limit end).

public static final AudioEvent SAFETY_SPOT

Safety spot audio output (approaching safety spot).

public static final AudioEvent VIBRATION

Vibration (during walk navigation only). To enable, the app must also have android.permission.VIBRATE in AndroidManifest.xml.

Method Details

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

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