Udostępnij za pośrednictwem


MediaCodecInfo.VideoCapabilities.GetSupportedWidthsFor(Int32) Method

Definition

Returns the range of supported video widths for a video height.

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

Parameters

height
Int32

the height of the video

Returns

Attributes

Remarks

Returns the range of supported video widths for a video height.

Java documentation for android.media.MediaCodecInfo.VideoCapabilities.getSupportedWidthsFor(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