Module javafx.media

Class MediaErrorEvent

    • Field Detail

      • MEDIA_ERROR

        public static final EventType<MediaErrorEvent> MEDIA_ERROR
        The only valid event type for the MediaErrorEvent.
    • Method Detail

      • getMediaError

        public MediaException getMediaError()
        Retrieve the error associated with this event.
        Returns:
        The MediaException
      • toString

        public String toString()
        Retrieve a String representation of the event.
        Overrides:
        toString in class EventObject
        Returns:
        a String representation of this EventObject