共用方式為


MediaPlayer.TrackInfo.Language Property

Definition

Gets the language code of the track.

public virtual string? Language { [Android.Runtime.Register("getLanguage", "()Ljava/lang/String;", "GetGetLanguageHandler")] get; }
[<get: Android.Runtime.Register("getLanguage", "()Ljava/lang/String;", "GetGetLanguageHandler")>]
member this.Language : string

Property Value

a language code in either way of ISO-639-1 or ISO-639-2. When the language is unknown or could not be determined, ISO-639-2 language code, "und", is returned.

Attributes

Remarks

Gets the language code of the track.

Java documentation for android.media.MediaPlayer.TrackInfo.getLanguage().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to