Interface MediaPlayerPeer

All Known Implementing Classes:
GwtJ2clMediaPlayerPeer

public interface MediaPlayerPeer
Author:
Bruno Salmon
  • Property Details

  • 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 the mute property.
      Property description:
      Parameters:
      mute - the value for the mute 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

      void setAudioSpectrumListener(AudioSpectrumListener listener)
    • seek

      void seek(Duration duration)