Module javafx.media

Class MediaMarkerEvent

All Implemented Interfaces:
Serializable, Cloneable

public class MediaMarkerEvent
extends ActionEvent
An ActionEvent representing a media marker. A marker is added to a Media which is then played by a MediaPlayer. The event is fired when the playback position reaches the position of the marker.
Since:
JavaFX 2.0
See Also:
MediaPlayer.onMarkerProperty(), Serialized Form
  • Method Details

    • getMarker

      public Pair<String,​Duration> getMarker()
      Retrieves the marker the event represents.
      Returns:
      the value of the marker.