Lingua

TvTrackInfo.Builder.SetEncoding(String) Method

Definition

Sets the encoding of the track.

[Android.Runtime.Register("setEncoding", "(Ljava/lang/String;)Landroid/media/tv/TvTrackInfo$Builder;", "", ApiSince=30)]
public Android.Media.TV.TvTrackInfo.Builder SetEncoding(string? encoding);
[<Android.Runtime.Register("setEncoding", "(Ljava/lang/String;)Landroid/media/tv/TvTrackInfo$Builder;", "", ApiSince=30)>]
member this.SetEncoding : string -> Android.Media.TV.TvTrackInfo.Builder

Parameters

encoding
String

The encoding of the track in the form of mime type. This value may be null.

Returns

This builder with the codec MIME type updated.

Attributes

Remarks

Sets the encoding of the track.

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

Android reference for android.media.tv.TvTrackInfo.Builder.setEncoding.

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