- 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 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
.
-
-