Udostępnij za pośrednictwem


MediaCodecInfo.VideoCapabilities.IsSizeSupported(Int32, Int32) Method

Definition

Returns whether a given video size (width and height) is supported.

[Android.Runtime.Register("isSizeSupported", "(II)Z", "")]
public bool IsSizeSupported (int width, int height);
[<Android.Runtime.Register("isSizeSupported", "(II)Z", "")>]
member this.IsSizeSupported : int * int -> bool

Parameters

width
Int32
height
Int32

Returns

Attributes

Remarks

Returns whether a given video size (width and height) is supported.

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