StreamConfigurationMap.GetOutputSizes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetOutputSizes(Int32) |
Get a list of sizes compatible with the requested image |
| GetOutputSizes(Class) |
Get a list of sizes compatible with |
GetOutputSizes(Int32)
Get a list of sizes compatible with the requested image format.
[Android.Runtime.Register("getOutputSizes", "(I)[Landroid/util/Size;", "")]
public Android.Util.Size[]? GetOutputSizes (int format);
[<Android.Runtime.Register("getOutputSizes", "(I)[Landroid/util/Size;", "")>]
member this.GetOutputSizes : int -> Android.Util.Size[]
Parameters
- format
- Int32
an image format from ImageFormat or PixelFormat
Returns
- Size[]
an array of supported sizes,
or null if the format is not a supported output
- Attributes
Remarks
Java documentation for android.hardware.camera2.params.StreamConfigurationMap.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.
See also
Applies to
GetOutputSizes(Class)
Get a list of sizes compatible with klass to use as an output.
[Android.Runtime.Register("getOutputSizes", "(Ljava/lang/Class;)[Landroid/util/Size;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Android.Util.Size[]? GetOutputSizes (Java.Lang.Class? klass);
[<Android.Runtime.Register("getOutputSizes", "(Ljava/lang/Class;)[Landroid/util/Size;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.GetOutputSizes : Java.Lang.Class -> Android.Util.Size[]
Parameters
- klass
- Class
a non-nullClass object reference
Returns
- Size[]
an array of supported sizes for ImageFormat#PRIVATE format,
or null iff the klass is not a supported output.
- Attributes
Remarks
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.