Package dev.redstones.mediaplayerinfo
Class MediaInfo
-
- All Implemented Interfaces:
@Serializable() public final class MediaInfo
-
-
Method Summary
Modifier and Type Method Description final BufferedImagegetArtwork()final StringgetTitle()final StringgetArtist()final ByteArraygetArtworkPng()if there is no artwork the ByteArray will be empty final LonggetPosition()final LonggetDuration()final BooleangetPlaying()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getArtwork
final BufferedImage getArtwork()
-
getArtworkPng
final ByteArray getArtworkPng()
if there is no artwork the ByteArray will be empty
-
getPosition
final Long getPosition()
-
getDuration
final Long getDuration()
-
getPlaying
final Boolean getPlaying()
-
-
-
-