Language

TvTrackInfo.Builder.SetVideoActiveFormatDescription(SByte) Method

Definition

Sets the Active Format Description (AFD) code of the video.

[Android.Runtime.Register("setVideoActiveFormatDescription", "(B)Landroid/media/tv/TvTrackInfo$Builder;", "", ApiSince=24)]
public Android.Media.TV.TvTrackInfo.Builder SetVideoActiveFormatDescription(sbyte videoActiveFormatDescription);
[<Android.Runtime.Register("setVideoActiveFormatDescription", "(B)Landroid/media/tv/TvTrackInfo$Builder;", "", ApiSince=24)>]
member this.SetVideoActiveFormatDescription : sbyte -> Android.Media.TV.TvTrackInfo.Builder

Parameters

videoActiveFormatDescription
SByte

The AFD code of the video.

Returns

Attributes

Remarks

Sets the Active Format Description (AFD) code of the video. Valid only for TvTrackInfo.TYPE_VIDEO tracks.

This is needed for applications to be able to scale the video properly based on the information about where in the coded picture the active video is. The complete list of values are defined in ETSI TS 101 154 V1.7.1 Annex B, ATSC A/53 Part 4 and SMPTE 2016-1-2007.

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

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