sf.Music.getDuration – sfml Reference Manual
Packages
sfml
sf
Music
Music.fromFile
Music.fromMemory
Music.fromStream
getAttenuation
getChannelCount
getDuration
getLoop
getLoopPoints
getMinDistance
getPitch
getPlayingOffset
getPosition
getSampleRate
getStatus
getVolume
isRelativeToListener
pause
play
setAttenuation
setLoop
setLoopPoints
setMinDistance
setPitch
setPlayingOffset
setPosition
setRelativeToListener
setVolume
stop
getDuration
Description:
public
Time
getDuration
()