APIdia Launch Partner
Top Description Constructors Methods
javafx.scene.media

public final Class AudioTrack

extends Track
Class Inheritance
Imports
java.util.Locale, .Map

A Track that describes an audio track. An audio track may for example be the unique track in a piece of digital music or one of several tracks in an audiovisual media resource.
Since
JavaFX 2.0

Constructor Summary

AccessConstructor and Description
pack-priv
AudioTrack(long trackID, Map<String, Object> metadata)

Method Summary

Modifier and TypeMethod and Description
public final String

Returns:

the IANA language code or null.
getLanguage
()
Deprecated Use Track#getLocale() instead.

Retrieves the language of the audio track.

Inherited from javafx.scene.media.Track:
getLocalegetMetadatagetNamegetTrackIDtoString

Constructor Detail

AudioTrackback to summary
pack-priv AudioTrack(long trackID, Map<String, Object> metadata)

Method Detail

getLanguageback to summary
public final String getLanguage()

Deprecated

Use Track#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:String

the IANA language code or null.

Annotations
@Deprecated