Spec-Zone .ru
спецификации, руководства, описания, API
|
public abstract class Track extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale()
The <code>Locale</code> specifying the language and possibly the country that
the
Track contents are formatted for. |
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata() |
java.lang.String |
getName()
Retrieves the name of the track.
|
long |
getTrackID()
Get the track ID as defined by the media container format.
|
java.lang.String |
toString() |
public final java.lang.String getName()
null
.public final java.util.Locale getLocale()
Track
contents are formatted for. For AudioTrack
s
this will be the language spoken, for SubtitleTrack
s this will be
the language presented in the captions. Not all Track
s will
have an associated language, in which case this method will return null.Track
s language information or nullpublic final long getTrackID()
Track
must be unique for its source Media
.Track
s unique IDpublic final java.util.Map<java.lang.String,java.lang.Object> getMetadata()
Track
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to