Class AsyncMedia.MediaErrorEvent
java.lang.Object
com.codename1.ui.events.ActionEvent
com.codename1.media.AsyncMedia.MediaErrorEvent
- Enclosing interface:
AsyncMedia
Encapsulates a media error event.
Since
7.0
-
Nested Class Summary
Nested classes/interfaces inherited from class ActionEvent
ActionEvent.Type -
Constructor Summary
ConstructorsConstructorDescriptionMediaErrorEvent(Media source, AsyncMedia.MediaException error) Creates a new error event with the given exception. -
Method Summary
Modifier and TypeMethodDescriptionGets the exception associated with this event.Methods inherited from class ActionEvent
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
-
Constructor Details
-
MediaErrorEvent
Creates a new error event with the given exception.
Parameters
-
source -
error
-
-
-
Method Details
-
getMediaException
Gets the exception associated with this event.
-