MediaManager, MediaPlayer
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| protected void | |
| public Locator | |
| public abstract Map | |
| public List | Returns: the tracks in the media ornull if no tracks found.Gets the tracks found in the media. |
| public abstract void | |
| public abstract double | Returns: The presentation time of the deleted marker.Name of the marker markerName)Removes a marker by name. |
| public String |
| locator | back to summary |
|---|---|
| private Locator locator | |
| tracks | back to summary |
|---|---|
| private final List<Track> tracks | |
| Media | back to summary |
|---|---|
| protected Media(Locator locator) Create a
| |
| addMarker | back to summary |
|---|---|
| public abstract void addMarker(String markerName, double presentationTime) Adds a marker to the media playback. This marker will not be as precise as embedded markers in the media file.
| |
| addTrack | back to summary |
|---|---|
| protected void addTrack(Track track) Adds a
| |
| getLocator | back to summary |
|---|---|
| public Locator getLocator() Gets the
| |
| getMarkers | back to summary |
|---|---|
| public abstract Map Get the markers of the media. The returned
| |
| getTracks | back to summary |
|---|---|
| public List Gets the tracks found in the media. The returned value will be
| |
| removeAllMarkers | back to summary |
|---|---|
| public abstract void removeAllMarkers() Removes all markers, added programmatically, from the media playback. Embedded markers will still cause notifications to fire. | |
| removeMarker | back to summary |
|---|---|
| public abstract double removeMarker(String markerName) Removes a marker by name.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |