Class Audio.AudioBuilder
java.lang.Object
com.amilesend.onedrive.resource.item.type.Audio.AudioBuilder
- Enclosing class:
Audio
-
Method Summary
Modifier and TypeMethodDescriptionThe album title.albumArtist(String albumArtist) The album artist.The performing artist.bitrate(long bitrate) The bitrate in kbps.build()The composer.The copyright information.disc(short disc) The disc number associated with the track.discCount(short discCount) The total number of discs associated with the album.duration(long duration) The duration in milliseconds.The music genre.hasDrm(boolean hasDrm) Indicates if the audio file is protected with digital rights management.isVariableBitrate(boolean isVariableBitrate) indicates if the file isencoded with a variable bitrate.The song title.toString()track(int track) The track number for the associated album.trackCount(int trackCount) The total number of tracks for the associated album.year(int year) The year the track was recorded.
-
Method Details
-
album
The album title.- Returns:
this.
-
albumArtist
The album artist.- Returns:
this.
-
artist
The performing artist.- Returns:
this.
-
bitrate
The bitrate in kbps.- Returns:
this.
-
composers
The composer.- Returns:
this.
-
copyright
The copyright information.- Returns:
this.
-
disc
The disc number associated with the track.- Returns:
this.
-
discCount
The total number of discs associated with the album.- Returns:
this.
-
duration
The duration in milliseconds.- Returns:
this.
-
genre
The music genre.- Returns:
this.
-
hasDrm
Indicates if the audio file is protected with digital rights management.- Returns:
this.
-
isVariableBitrate
indicates if the file isencoded with a variable bitrate.- Returns:
this.
-
title
The song title.- Returns:
this.
-
track
The track number for the associated album.- Returns:
this.
-
trackCount
The total number of tracks for the associated album.- Returns:
this.
-
year
The year the track was recorded.- Returns:
this.
-
build
-
toString
-