Class AudioAnalysisMeta
java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.miscellaneous.AudioAnalysisMeta
- All Implemented Interfaces:
Serializable
,IModelObject
Retrieve information about Audio Analysis Metadata objects by creating instances from this class.
These objects only contain metadata created by the Analyzer software.
These objects only contain metadata created by the Analyzer software.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class for buildingAudioAnalysisMeta
instances.static final class
JsonUtil class for buildingAudioAnalysisMeta
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 duration of the audio analysis, eg. in how many seconds the audio analysis has been created by the software.Get the version of the Analyzer software, which is used to create audio analysis data.Get the detailed status of the Analyzer software after creating the audio analysis.Get the input process of the audio analysis.Get the platform, on which the audio analysis was created.Get the exit status code of the Analyzer software.Get the timestamp when the audio analysis object has been created by the Analyzer software.toString()
Returns a String representation of this model object in the style:
-
Method Details
-
getAnalyzerVersion
Get the version of the Analyzer software, which is used to create audio analysis data.- Returns:
- Analyzer software version.
-
getPlatform
Get the platform, on which the audio analysis was created.- Returns:
- The platform name.
-
getDetailedStatus
Get the detailed status of the Analyzer software after creating the audio analysis.- Returns:
- The detailed status of the Analyzer software.
-
getStatusCode
Get the exit status code of the Analyzer software.- Returns:
- The exit status code. (Should be 0)
-
getTimestamp
Get the timestamp when the audio analysis object has been created by the Analyzer software.- Returns:
- Timestamp of audio analysis.
-
getAnalysisTime
Get the duration of the audio analysis, eg. in how many seconds the audio analysis has been created by the software.- Returns:
- Duration of the audio analysis.
-
getInputProcess
Get the input process of the audio analysis. The input process is most times the commandlibvorbisfile L+R 44100->22050
, which lowers the sample rate of the track. (probably to reduce the duration of the audio analysis)- Returns:
- The input process of the audio analysis.
-
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.
-