| 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 |
|---|---|
AsyncMedia.State |
AsyncMedia.MediaStateChangeEvent.getNewState()
The new state.
|
AsyncMedia.State |
AsyncMedia.MediaStateChangeEvent.getOldState()
The previous state.
|
AsyncMedia.State |
AsyncMedia.getState()
Gets the current state of the media object.
|
AsyncMedia.State |
AbstractMedia.getState()
Gets the current state of the media object.
|
static AsyncMedia.State |
AsyncMedia.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncMedia.State[] |
AsyncMedia.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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.
|
| Constructor and Description |
|---|
MediaStateChangeEvent(AsyncMedia source,
AsyncMedia.State oldState,
AsyncMedia.State newState)
Creates a new state change event for the given source.
|
Copyright © 2021. All rights reserved.