Class Audio
java.lang.Object
com.amilesend.onedrive.resource.item.type.Audio
If a drive item is an audio file, this describes its attributes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Audio.AudioBuilderbuilder()booleangetAlbum()The album title.The album artist.The performing artist.longThe bitrate in kbps.The composer.The copyright information.shortgetDisc()The disc number associated with the track.shortThe total number of discs associated with the album.longThe duration in milliseconds.getGenre()The music genre.getTitle()The song title.intgetTrack()The track number for the associated album.intThe total number of tracks for the associated album.intgetYear()The year the track was recorded.inthashCode()booleanisHasDrm()Indicates if the audio file is protected with digital rights management.booleanindicates if the file isencoded with a variable bitrate.toString()
-
Method Details
-
builder
-
getAlbum
The album title. -
getAlbumArtist
The album artist. -
getArtist
The performing artist. -
getBitrate
public long getBitrate()The bitrate in kbps. -
getComposers
The composer. -
getCopyright
The copyright information. -
getDisc
public short getDisc()The disc number associated with the track. -
getDiscCount
public short getDiscCount()The total number of discs associated with the album. -
getDuration
public long getDuration()The duration in milliseconds. -
getGenre
The music genre. -
isHasDrm
public boolean isHasDrm()Indicates if the audio file is protected with digital rights management. -
isVariableBitrate
public boolean isVariableBitrate()indicates if the file isencoded with a variable bitrate. -
getTitle
The song title. -
getTrack
public int getTrack()The track number for the associated album. -
getTrackCount
public int getTrackCount()The total number of tracks for the associated album. -
getYear
public int getYear()The year the track was recorded. -
equals
-
hashCode
public int hashCode() -
toString
-