Capability(Int32, Size, Range) Constructor
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.
Create a new Capability object.
[Android.Runtime.Register(".ctor", "(ILandroid/util/Size;Landroid/util/Range;)V", "", ApiSince=34)]
public Capability (int mode, Android.Util.Size maxStreamingSize, Android.Util.Range zoomRatioRange);
[<Android.Runtime.Register(".ctor", "(ILandroid/util/Size;Landroid/util/Range;)V", "", ApiSince=34)>]
new Android.Hardware.Camera2.Params.Capability : int * Android.Util.Size * Android.Util.Range -> Android.Hardware.Camera2.Params.Capability
Parameters
- mode
- Int32
supported mode for a camera capability.
- maxStreamingSize
- Size
The maximum streaming size for this mode
- zoomRatioRange
- Range
the minimum/maximum zoom ratio this mode supports
- Attributes
Remarks
Create a new Capability object.
The mode argument can be any integer value. maxStreamingWidth and maxStreamingHeight must be non-negative, while minZoomRatio and maxZoomRatio must be strictly positive.
This constructor is public to allow for easier application testing by creating custom object instances. It's not necessary to construct these objects during normal use of the camera API.
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.