Package org.deepsymmetry.beatlink.data
Interface BeatGridListener
-
public interface BeatGridListener
The listener interface for receiving updates when the beat grid available for a track loaded in any player changes.
Classes that are interested having up-to-date information about beat grids for loaded tracks can implement this interface, and then pass the implementing instance to
BeatGridFinder.addBeatGridListener(BeatGridListener)
. Then, whenever a player loads a new track (or the set of available album art changes, so we know more or less about tracks in any loaded player),beatGridChanged(BeatGridUpdate)
will be called, with the currently available beat grid for the track (if any) loaded in the player.- Author:
- James Elliott
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beatGridChanged(BeatGridUpdate update)
Called when the beat grid available for a player has changed.
-
-
-
Method Detail
-
beatGridChanged
void beatGridChanged(BeatGridUpdate update)
Called when the beat grid available for a player has changed.- Parameters:
update
- provides information about what has changed
-
-