## Uses of Class
javafx.scene.media.MediaErrorEvent

- Packages that use MediaErrorEvent
  Package | Description
  --- | ---
  javafx.scene.media | Provides the set of classes for integrating audio and video into Java FX Applications.

- - ### Uses of MediaErrorEvent in javafx.scene.media

    Fields in javafx.scene.media with type parameters of type MediaErrorEvent
    Modifier and Type | Field and Description
    --- | ---
    `static EventType<MediaErrorEvent>` | MediaErrorEvent.`MEDIA_ERROR` The only valid event type for the `MediaErrorEvent`.

    Methods in javafx.scene.media that return MediaErrorEvent
    Modifier and Type | Method and Description
    --- | ---
    `MediaErrorEvent` | MediaErrorEvent.`copyFor(Object newSource, EventTarget newTarget)`

    Methods in javafx.scene.media that return types with arguments of type MediaErrorEvent
    Modifier and Type | Method and Description
    --- | ---
    `EventType<MediaErrorEvent>` | MediaErrorEvent.`getEventType()`
    `EventHandler<MediaErrorEvent>` | MediaView.`getOnError()` Retrieves the error event handler.
    `ObjectProperty<EventHandler<MediaErrorEvent>>` | MediaView.`onErrorProperty()` Event handler to be invoked whenever an error occurs on this `MediaView`.

    Method parameters in javafx.scene.media with type arguments of type MediaErrorEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | MediaView.`setOnError(EventHandler<MediaErrorEvent> value)` Sets the error event handler.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.