Class AudioTrack
java.lang.Object
javafx.scene.media.Track
javafx.scene.media.AudioTrack
-
Method Summary
Methods declared in class Track
getLocale, getMetadata, getName, getTrackID, toStringModifier and TypeMethodDescriptionfinal LocaleTheLocalespecifying the language and possibly the country that theTrackcontents are formatted for.Gets theMapcontaining all known metadata for thisTrack.final StringgetName()Retrieves the name of the track.final longGet the track ID as defined by the media container format.final StringtoString()
-
Method Details
-
getLanguage
Deprecated.UseTrack.getLocale()instead.Retrieves the language of the audio track. The IANA language code might be for example "en" for English or "ru" for Russian. The list of all registered IANA language codes is available in the IANA Language Subtag Registry.- Returns:
- the IANA language code or
null.
-
Track.getLocale()instead.