Interface SignatureListener


  • public interface SignatureListener

    The listener interface for receiving updates when the signatures available for a track loaded in any player change.

    Classes that are interested having up-to-date information for reliably recognizing loaded tracks can implement this interface, and then pass the implementing instance to SignatureFinder.addSignatureListener(SignatureListener). Then, whenever a player loads a new track and enough metadata has been obtained to compute the track signature, signatureChanged(SignatureUpdate) will be called, with the currently available signature (if any) for the track loaded in the player.

    Author:
    James Elliott
    • Method Detail

      • signatureChanged

        void signatureChanged​(SignatureUpdate update)
        Called when the track signature available for a player has changed.
        Parameters:
        update - provides information about what has changed