Schnittstelle FingerPrintingDataSource

Alle bekannten Implementierungsklassen:
FingerprintingClient, WhatsSidService

public interface FingerPrintingDataSource
This data source is the interface to the fingerprinting database.
Autor:
ken
  • Methodendetails

    • insertTune

      IdBean insertTune(MusicInfoBean musicInfoBean)
      Insert a new tune into the database. First step of inserting a tune with hashes.
      Parameter:
      musicInfoBean - tune information
      Gibt zurück:
      tune id
    • insertHashes

      void insertHashes(HashBeans hashBeans)
      Insert the hashes of a new tune into the database. Last step of inserting a tune with hashes.
      Parameter:
      hashBeans - generated hashes of the fingerprinted tune
    • tuneExists

      boolean tuneExists(MusicInfoBean musicInfoBean)
      Check if a tune is already in the database. Call this prior to inserting a new tune.
      Parameter:
      musicInfoBean - tune information
      Gibt zurück:
      tune exists
    • findHashes

      HashBeans findHashes(IntArrayBean intArray)
      Find hashes of an already existing tune. First step of matching a tune.
      Parameter:
      intArray - hashes of an already existing tune to match.
      Gibt zurück:
      matching hashes
    • findTune

      MusicInfoBean findTune(SongNoBean songNoBean)
      Find a matched tune. Last step of matching a tune.
      Parameter:
      songNoBean - matched song number
      Gibt zurück:
      music info of a matched tune