Dela via


MediaCodecInfo.VideoCapabilities.GetSupportedHeightsFor(Int32) Method

Definition

Returns the range of supported video heights for a video width

[Android.Runtime.Register("getSupportedHeightsFor", "(I)Landroid/util/Range;", "")]
public Android.Util.Range? GetSupportedHeightsFor (int width);
[<Android.Runtime.Register("getSupportedHeightsFor", "(I)Landroid/util/Range;", "")>]
member this.GetSupportedHeightsFor : int -> Android.Util.Range

Parameters

width
Int32

the width of the video

Returns

Attributes

Remarks

Returns the range of supported video heights for a video width

Java documentation for android.media.MediaCodecInfo.VideoCapabilities.getSupportedHeightsFor(int).

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