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
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder class for buildingAudioAnalysisMeasureinstances.static final classJsonUtil class for buildingAudioAnalysisMeasureinstances.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:AbstractModelObjectReturns a String representation of this model object in the style:ModelObject(attr1=value1, attr2=value2, ...)- Specified by:
toStringin classAbstractModelObject
-
builder
Description copied from interface:IModelObjectCreate 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.
-