HERE Android SDK Developer's Guide

AudioFeedbackListener

The class AudioFeedbackListener is a member of com.here.android.mpa.guidance.NavigationManager.

Class Summary

public static abstract class NavigationManager.AudioFeedbackListener

extends java.lang.Object

AudioFeedbackListener provides callback of audio related events from NavigationManager .

[For complete information, see the section Class Details]

See also:

setVoiceSkin(VoiceSkin)

Constructor Summary

Table 1. Constructors in AudioFeedbackListener
Constructors

AudioFeedbackListener ()

Method Summary

Table 2. Methods in AudioFeedbackListener
Methods

public void onAudioEnd ()

Callback after the playing of any voice navigation command ends.

public void onAudioStart ()

Callback before the playing of any voice navigation command starts.

public void onVibrationEnd ()

Callback for when vibration has finished.

public void onVibrationStart ()

Callback for when vibration is about to start.

Class Details

AudioFeedbackListener provides callback of audio related events from NavigationManager . By default, empty implementations are provided for all callbacks, users may selectively overload specific methods that are of interest.

See also:

setVoiceSkin(VoiceSkin)

Constructor Details

AudioFeedbackListener ()

Method Details

public void onAudioEnd ()

Callback after the playing of any voice navigation command ends.

public void onAudioStart ()

Callback before the playing of any voice navigation command starts.

public void onVibrationEnd ()

Callback for when vibration has finished. This is just an estimation as Android's Vibrator does not notify when complete.

public void onVibrationStart ()

Callback for when vibration is about to start.