| 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.MediaStateChangeEvent |
AbstractMedia.fireMediaStateChange(AsyncMedia.State newState)
Fires a media state change event to the registered state change listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AsyncMedia.addMediaStateChangeListener(ActionListener<AsyncMedia.MediaStateChangeEvent> l)
Adds a listener to be notified when the state of the media changes.
|
void |
AbstractMedia.addMediaStateChangeListener(ActionListener<AsyncMedia.MediaStateChangeEvent> l)
Adds a listener to be notified when the state of the media changes.
|
void |
AsyncMedia.removeMediaStateChangeListener(ActionListener<AsyncMedia.MediaStateChangeEvent> l)
Removes a listener so that it will no longer be notified of state changes.
|
void |
AbstractMedia.removeMediaStateChangeListener(ActionListener<AsyncMedia.MediaStateChangeEvent> l)
Removes a listener so that it will no longer be notified of state changes.
|
Copyright © 2023. All rights reserved.