Represents the classification results generated by AudioClassifier
.
Public Constructors
Public Methods
abstract List<ClassificationResult> |
classificationResults()
A list of of timestamped
ClassificationResult objects, each contains one set of results
per classifier head. |
abstract long |
timestampMs()
Returns the timestamp that is associated with the task result object.
|
Inherited Methods
Public Constructors
public AudioClassifierResult ()
Public Methods
public abstract List<ClassificationResult> classificationResults ()
A list of of timestamped ClassificationResult
objects, each contains one set of results
per classifier head.
In the "audio stream" mode, the list only contains one element, representing the
classification result of the audio block that starts at ERROR(/ClassificationResult.timestampMs)
in the audio stream. Otherwise, in the "audio clips" mode,
the list may include multiple ClassificationResult
objects, each classifying an
interval of the entire audio clip that starts at ERROR(/ClassificationResult.timestampMs)
.
public abstract long timestampMs ()
Returns the timestamp that is associated with the task result object.