public interface WaveformListener
The listener interface for receiving updates when the waveforms available for a track loaded in any player change.
Classes that are interested having up-to-date information about waveforms for loaded tracks can implement this
interface, and then pass the implementing instance to
WaveformFinder.addWaveformListener(WaveformListener).
Then, whenever a player loads a new track (or the set of waveforms changes, so we know more or less about
tracks in any loaded player), previewChanged(WaveformPreviewUpdate) and/or
detailChanged(WaveformDetailUpdate) will be called, with the currently available waveform preview or detail
(if any) for the track loaded in the player.
| Modifier and Type | Method and Description |
|---|---|
void |
detailChanged(WaveformDetailUpdate update)
Called when the waveform detail available for a player has changed.
|
void |
previewChanged(WaveformPreviewUpdate update)
Called when the waveform preview available for a player has changed.
|
void previewChanged(WaveformPreviewUpdate update)
update - provides information about what has changedvoid detailChanged(WaveformDetailUpdate update)
update - provides information about what has changedCopyright © 2016–2018 Deep Symmetry, LLC. All rights reserved.