public interface QueryResultHandler
Modifier and Type | Method and Description |
---|---|
void |
handleEmptyResult() |
void |
handleQueryResult(java.lang.String identifier,
java.lang.String description,
double score,
double time,
double timeFactor,
double frequencyFactor)
Handle the result of a query.
|
void handleQueryResult(java.lang.String identifier, java.lang.String description, double score, double time, double timeFactor, double frequencyFactor)
identifier
- The internal identifier of the matched audiodescription
- The meta-data, description of the matched audioscore
- The score for the matchtime
- The starting position in the matched audio, in seconds.timeFactor
- The factor (percentage) of change in time. 110 means 10%
speedup compared to the reference. 90 means 10% slower than
reference.frequencyFactor
- The factor (percentage) of change in frequency. 110 means 10%
higher frequency compared to the reference. 90 means a 10%
lower frequency.void handleEmptyResult()