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) Sets the value of themute
property.void
setVolume
(double volume) void
stop()
-
Property Details
-
mediaPlayerCurrentTime
ObjectProperty<Duration> mediaPlayerCurrentTimeProperty- See Also:
-
mute
BooleanProperty muteProperty- 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) Sets the value of themute
property.- Property description:
- Parameters:
mute
- the value for themute
property- See Also:
-
getCurrentTime
Duration getCurrentTime() -
mediaPlayerCurrentTimeProperty
ObjectProperty<Duration> mediaPlayerCurrentTimeProperty()- Returns:
- the
mediaPlayerCurrentTime
property
-
muteProperty
BooleanProperty muteProperty()- Returns:
- the
mute
property - See Also:
-
setAudioSpectrumInterval
void setAudioSpectrumInterval(double value) -
setAudioSpectrumNumBands
void setAudioSpectrumNumBands(int value) -
setAudioSpectrumListener
-
seek
-