Class AudioAnalysisMeasure
java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject
com.wrapper.spotify.model_objects.miscellaneous.AudioAnalysisMeasure
- All Implemented Interfaces:
IModelObject
public class AudioAnalysisMeasure extends AbstractModelObject
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.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudioAnalysisMeasure.BuilderBuilder class for buildingAudioAnalysisMeasureinstances.static classAudioAnalysisMeasure.JsonUtilJsonUtil class for buildingAudioAnalysisMeasureinstances.Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T> -
Method Summary
Modifier and Type Method Description AudioAnalysisMeasure.Builderbuilder()Create a builder for building an instance of a model object.FloatgetConfidence()Get the confidence value of the measurement.FloatgetDuration()Get the duration of the measurement in seconds.FloatgetStart()Get the start point of the measurement, eg.
-
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.
-
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.
-