- java.lang.Object
-
- javafx.scene.media.Track
-
- javafx.scene.media.AudioTrack
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getLanguage()
Deprecated.UseTrack.getLocale()
instead.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in class javafx.scene.media.Track
getLocale, getMetadata, getName, getTrackID
-
-
-
-
Method Detail
-
getLanguage
@Deprecated public final String 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
.
-
-