RecommendedStreamConfigurationMap.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(Class) |
Get a list of sizes compatible with |
GetOutputSizes(Int32) |
Get a list of sizes compatible with the requested image |
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)
.
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
.
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.