Compartilhar via


RecommendedStreamConfigurationMap.GetOutputSizes Method

Definition

Overloads

GetOutputSizes(Class)

Get a list of sizes compatible with klass to use as an output.

GetOutputSizes(Int32)

Get a list of sizes compatible with the requested image format.

GetOutputSizes(Class)

Get a list of sizes compatible with klass to use as an output.

[Android.Runtime.Register("getOutputSizes", "(Ljava/lang/Class;)Ljava/util/Set;", "", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public System.Collections.Generic.ICollection<Android.Util.Size>? GetOutputSizes (Java.Lang.Class klass);
[<Android.Runtime.Register("getOutputSizes", "(Ljava/lang/Class;)Ljava/util/Set;", "", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.GetOutputSizes : Java.Lang.Class -> System.Collections.Generic.ICollection<Android.Util.Size>

Parameters

klass
Class

a Class object reference

Returns

a non-modifiable set of supported sizes for ImageFormat#PRIVATE format, or null if the klass is not a supported output.

Attributes

Remarks

Get a list of sizes compatible with klass to use as an output.

For further information refer to StreamConfigurationMap#getOutputSizes(Class).

Java documentation for android.hardware.camera2.params.RecommendedStreamConfigurationMap.getOutputSizes(java.lang.Class<T>).

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

GetOutputSizes(Int32)

Get a list of sizes compatible with the requested image format.

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

Parameters

format
Int32

an image format from ImageFormat or PixelFormat

Returns

a non-modifiable set of supported sizes, or null if the format is not a supported output

Attributes

Remarks

Get a list of sizes compatible with the requested image format.

For more information refer to StreamConfigurationMap#getOutputSizes.

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