HERE Android SDK Developer's Guide

AudioPlayerDelegate

The interface AudioPlayerDelegate is a member of com.here.android.mpa.guidance .

Interface Summary

public abstract interface AudioPlayerDelegate

Interface for notifying NavigationManager.AudioPlayer functions used by NavigationManager.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in AudioPlayerDelegate
Methods

public abstract boolean playFiles (String[] files)

Delegate function for NavigationManager.AudioPlayer used by NavigationManager.

public abstract boolean playText (String text)

Delegate function for NavigationManager.AudioPlayer used by NavigationManager.

Interface Details

Interface for notifying NavigationManager.AudioPlayer functions used by NavigationManager. Clients can take over playback of audio files and TTS text strings by implementing this interface and submitting to setDelegate(AudioPlayerDelegate).

Method Details

public abstract boolean playFiles (String[] files)

Delegate function for NavigationManager.AudioPlayer used by NavigationManager. Clients will receive an array of audio file paths that be submitted to media players for playback.

Parameters:

  • files

Returns:

true if client is handling the audio playback, false will allow the SDK to handle it.

public abstract boolean playText (String text)

Delegate function for NavigationManager.AudioPlayer used by NavigationManager. Clients will receive a text string that can be submitted to TTS engines for playback.

Parameters:

  • text

    TTS text to be played.

Returns:

true if client is handling the TTS playback, false will allow the SDK to handle it.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.