

Classes | |
| interface | AvailableVoicesCallback |
Public Member Functions | |
| void | addVoiceInstallationListener (final VoiceInstallListener listener) |
| void | addVoiceInstallationListener (final VoiceInstallListener listener, @Nullable final Executor executor) |
| void | removeVoiceInstallationListener (final VoiceInstallListener listener) |
| void | getAvailableVoiceList (@NonNull final AvailableVoicesCallback callback) |
| void | getAvailableVoiceList (@NonNull final AvailableVoicesCallback callback, @Nullable Executor executor) |
| boolean | installVoice (VoiceEntry voiceEntry) |
| boolean | uninstallVoice (VoiceEntry voiceEntry) |
| void | cancelDownload (VoiceEntry entry) |
| synchronized void | destroy () |
Protected Member Functions | |
| void | finalize () throws Throwable |
Manages the voice entry used to download new voices.
| void com.sygic.sdk.voice.VoiceDownload.addVoiceInstallationListener | ( | final VoiceInstallListener | listener | ) |
Registers a VoiceInstallListener.
| void com.sygic.sdk.voice.VoiceDownload.addVoiceInstallationListener | ( | final VoiceInstallListener | listener, |
| @Nullable final Executor | executor | ||
| ) |
Registers a VoiceInstallListener.
| executor | Executor which will execute listener's callbacks |
| void com.sygic.sdk.voice.VoiceDownload.cancelDownload | ( | VoiceEntry | entry | ) |
| synchronized void com.sygic.sdk.voice.VoiceDownload.destroy | ( | ) |
|
protected |
| void com.sygic.sdk.voice.VoiceDownload.getAvailableVoiceList | ( | @NonNull final AvailableVoicesCallback | callback | ) |
Returns all available voices. The callback will be called on main thread.
| void com.sygic.sdk.voice.VoiceDownload.getAvailableVoiceList | ( | @NonNull final AvailableVoicesCallback | callback, |
| @Nullable Executor | executor | ||
| ) |
Returns all available voices. The callback will be called on provided executor or on main thread if null.
| boolean com.sygic.sdk.voice.VoiceDownload.installVoice | ( | VoiceEntry | voiceEntry | ) |
Requests the installation of voice package.
| voiceEntry | VoiceEntry object. |
| void com.sygic.sdk.voice.VoiceDownload.removeVoiceInstallationListener | ( | final VoiceInstallListener | listener | ) |
Removes a VoiceInstallListener.
| boolean com.sygic.sdk.voice.VoiceDownload.uninstallVoice | ( | VoiceEntry | voiceEntry | ) |
Request the uninstallation of voice package.
| voiceEntry | VoiceEntry object. |