| Package | Description |
|---|---|
| com.codename1.media |
Video and Audio playback support are handled within this package using the
Media & MediaManager APIs. |
| Modifier and Type | Method and Description |
|---|---|
protected AsyncMedia.MediaErrorEvent |
AbstractMedia.fireMediaError(AsyncMedia.MediaException ex)
Fires a media error event to registered listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractMedia.addMediaErrorListener(ActionListener<AsyncMedia.MediaErrorEvent> l)
Adds a listener to be notified when an error occurs in the media.
|
void |
AsyncMedia.addMediaErrorListener(ActionListener<AsyncMedia.MediaErrorEvent> l)
Adds a listener to be notified when an error occurs in the media.
|
void |
AbstractMedia.removeMediaErrorListener(ActionListener<AsyncMedia.MediaErrorEvent> l)
Removes a listener so that it will no longer be notified of errors.
|
void |
AsyncMedia.removeMediaErrorListener(ActionListener<AsyncMedia.MediaErrorEvent> l)
Removes a listener so that it will no longer be notified of errors.
|
Copyright © 2021. All rights reserved.