Class AudioAnalysisMeta
- java.lang.Object
-
- com.wrapper.spotify.model_objects.AbstractModelObject
-
- com.wrapper.spotify.model_objects.miscellaneous.AudioAnalysisMeta
-
- All Implemented Interfaces:
IModelObject
public class AudioAnalysisMeta extends AbstractModelObject
Retrieve information about Audio Analysis Metadata objects by creating instances from this class.
These objects only contain metadata created by the Analyzer software.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudioAnalysisMeta.BuilderBuilder class for buildingAudioAnalysisMetainstances.static classAudioAnalysisMeta.JsonUtilJsonUtil class for buildingAudioAnalysisMetainstances.-
Nested classes/interfaces inherited from interface com.wrapper.spotify.model_objects.IModelObject
IModelObject.IJsonUtil<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudioAnalysisMeta.Builderbuilder()Create a builder for building an instance of a model object.FloatgetAnalysisTime()Get the duration of the audio analysis, eg.StringgetAnalyzerVersion()Get the version of the Analyzer software, which is used to create audio analysis data.StringgetDetailedStatus()Get the detailed status of the Analyzer software after creating the audio analysis.StringgetInputProcess()Get the input process of the audio analysis.StringgetPlatform()Get the platform, on which the audio analysis was created.IntegergetStatusCode()Get the exit status code of the Analyzer software.LonggetTimestamp()Get the timestamp when the audio analysis object has been created by the Analyzer software.
-
-
-
Method Detail
-
getAnalyzerVersion
public String getAnalyzerVersion()
Get the version of the Analyzer software, which is used to create audio analysis data.- Returns:
- Analyzer software version.
-
getPlatform
public String getPlatform()
Get the platform, on which the audio analysis was created.- Returns:
- The platform name.
-
getDetailedStatus
public String getDetailedStatus()
Get the detailed status of the Analyzer software after creating the audio analysis.- Returns:
- The detailed status of the Analyzer software.
-
getStatusCode
public Integer getStatusCode()
Get the exit status code of the Analyzer software.- Returns:
- The exit status code. (Should be 0)
-
getTimestamp
public Long getTimestamp()
Get the timestamp when the audio analysis object has been created by the Analyzer software.- Returns:
- Timestamp of audio analysis.
-
getAnalysisTime
public Float 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
public String 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.
-
builder
public AudioAnalysisMeta.Builder 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.
-
-