- java.lang.Object
-
- javafx.scene.media.Track
-
- javafx.scene.media.AudioTrack
-
Method Summary
All MethodsInstance MethodsConcrete MethodsDeprecated Methods Modifier and Type Method Description StringgetLanguage()Deprecated.UseTrack.getLocale()instead.-
Methods inherited from class javafx.scene.media.Track
getLocale, getMetadata, getName, getTrackID, toString
-
-
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.
-
© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.