Sdílet prostřednictvím


StreamConfigurationMap.GetInputSizes(Int32) Method

Definition

Get the supported input sizes for this input format.

[Android.Runtime.Register("getInputSizes", "(I)[Landroid/util/Size;", "", ApiSince=23)]
public Android.Util.Size[]? GetInputSizes (int format);
[<Android.Runtime.Register("getInputSizes", "(I)[Landroid/util/Size;", "", ApiSince=23)>]
member this.GetInputSizes : int -> Android.Util.Size[]

Parameters

format
Int32

a format from #getInputFormats

Returns

Size[]

a non-empty array of sizes, or null if the format was not available.

Attributes

Remarks

Get the supported input sizes for this input format.

The format must have come from #getInputFormats; otherwise null is returned.

Java documentation for android.hardware.camera2.params.StreamConfigurationMap.getInputSizes(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