Interface MediaPlayerPeer
- All Known Implementing Classes:
GwtJ2clMediaPlayerPeer
public interface MediaPlayerPeer
- Author:
- Bruno Salmon
-
Property Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
pause()
void
play()
void
void
setAudioSpectrumInterval
(double value) void
void
setAudioSpectrumNumBands
(int value) void
setCycleCount
(int cycleCount) void
setMute
(boolean mute) void
setVolume
(double volume) void
stop()
-
Property Details
-
mediaPlayerCurrentTime
ObjectProperty<Duration> mediaPlayerCurrentTimeProperty- See Also:
-
-
Method Details
-
setCycleCount
void setCycleCount(int cycleCount) -
play
void play() -
pause
void pause() -
stop
void stop() -
dispose
void dispose() -
setVolume
void setVolume(double volume) -
setMute
void setMute(boolean mute) -
getCurrentTime
Duration getCurrentTime() -
mediaPlayerCurrentTimeProperty
ObjectProperty<Duration> mediaPlayerCurrentTimeProperty()- Returns:
- the
mediaPlayerCurrentTime
property
-
setAudioSpectrumInterval
void setAudioSpectrumInterval(double value) -
setAudioSpectrumNumBands
void setAudioSpectrumNumBands(int value) -
setAudioSpectrumListener
-
seek
-