Condividi tramite


RecommendedStreamConfigurationMap.GetInputSizes(Int32) Method

Definition

Get the supported input sizes for this input format.

[Android.Runtime.Register("getInputSizes", "(I)Ljava/util/Set;", "", ApiSince=29)]
public System.Collections.Generic.ICollection<Android.Util.Size>? GetInputSizes (int format);
[<Android.Runtime.Register("getInputSizes", "(I)Ljava/util/Set;", "", ApiSince=29)>]
member this.GetInputSizes : int -> System.Collections.Generic.ICollection<Android.Util.Size>

Parameters

format
Int32

a format from #getInputFormats

Returns

a non-modifiable set 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.RecommendedStreamConfigurationMap.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