Class AudioAnalysisMeasure
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.miscellaneous.AudioAnalysisMeasure
- All Implemented Interfaces:
Serializable
,IModelObject
Retrieve information about Audio Analysis Measure objects by building instances from this class.
These objects can store the data of various
These objects can store the data of various
AudioAnalysis
measurements, like tatums
, bars
and
beats
.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for buildingAudioAnalysisMeasure
instances.static final class
JsonUtil class for buildingAudioAnalysisMeasure
instances.Nested classes/interfaces inherited from interface se.michaelthelin.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder for building an instance of a model object.Get the confidence value of the measurement.Get the duration of the measurement in seconds.getStart()
Get the start point of the measurement, eg. when the measured part of the track begins.toString()
Returns a String representation of this model object in the style:
-
Method Details
-
getConfidence
Get the confidence value of the measurement.
The confidence indicates the reliability of its corresponding attribute. Elements carrying a small confidence value should be considered speculative.- Returns:
- The confidence value of the measurement between 0.0 and 1.0.
-
getDuration
Get the duration of the measurement in seconds.
Example: Get the duration of a bar.- Returns:
- The duration of the measurement in seconds.
-
getStart
Get the start point of the measurement, eg. when the measured part of the track begins.- Returns:
- The start point of the measurement.
-
toString
Description copied from class:AbstractModelObject
Returns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)
- Specified by:
toString
in classAbstractModelObject
-
builder
Description copied from interface:IModelObject
Create a builder for building an instance of a model object.
The type of the builder and its methods depend on its corresponding implementation.- Returns:
- A builder object.
-