public abstract class Track extends Object
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale()
The
Locale specifying the language and possibly the country that
the Track contents are formatted for. |
Map<String,Object> |
getMetadata() |
String |
getName()
Retrieves the name of the track.
|
long |
getTrackID()
Get the track ID as defined by the media container format.
|
String |
toString() |
public final String getName()
null.public final Locale getLocale()
Locale specifying the language and possibly the country that
the Track contents are formatted for. For AudioTracks
this will be the language spoken, for SubtitleTracks this will be
the language presented in the captions. Not all Tracks will
have an associated language, in which case this method will return null.Tracks language information or nullpublic final long getTrackID()
Track must be unique for its source Media.Tracks unique IDpublic final Map<String,Object> getMetadata()
TrackSubmit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.