Sdílet prostřednictvím


TvTrackInfo.VideoPixelAspectRatio Property

Definition

Returns the pixel aspect ratio (the ratio of a pixel's width to its height) of the video.

public float VideoPixelAspectRatio { [Android.Runtime.Register("getVideoPixelAspectRatio", "()F", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getVideoPixelAspectRatio", "()F", "", ApiSince=23)>]
member this.VideoPixelAspectRatio : single

Property Value

Attributes

Remarks

Returns the pixel aspect ratio (the ratio of a pixel's width to its height) of the video. Valid only for #TYPE_VIDEO tracks.

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

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