Sdílet prostřednictvím


TvTrackInfo.Encoding Property

Definition

Returns the codec in the form of mime type.

public string? Encoding { [Android.Runtime.Register("getEncoding", "()Ljava/lang/String;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getEncoding", "()Ljava/lang/String;", "", ApiSince=30)>]
member this.Encoding : string

Property Value

Attributes

Remarks

Returns the codec in the form of mime type. If the encoding is unknown or could not be determined, the corresponding value will be null.

For example of broadcast, codec information may be referred to broadcast standard (e.g. Component Descriptor of ETSI EN 300 468). In the case that track type is subtitle, mime type could be defined in broadcast standard (e.g. "text/dvb.subtitle" or "text/dvb.teletext" in ETSI TS 102 812 V1.3.1 section 7.6).

Java documentation for android.media.tv.TvTrackInfo.getEncoding().

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