MultiResolutionStreamConfigurationMap.GetOutputFormats 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.
Get the output formats in this multi-resolution stream configuration.
[Android.Runtime.Register("getOutputFormats", "()[I", "", ApiSince=31)]
public int[] GetOutputFormats ();
[<Android.Runtime.Register("getOutputFormats", "()[I", "", ApiSince=31)>]
member this.GetOutputFormats : unit -> int[]
Returns
an array of integer format, or empty array if multi-resolution output is not supported
- Attributes
Remarks
Get the output formats in this multi-resolution stream configuration.
A logical multi-camera or an ultra high resolution sensor camera may support android.hardware.camera2.MultiResolutionImageReader
to dynamically output maximum resolutions of different sizes (when switching between physical cameras, or between different modes of an ultra high resolution sensor camera). This function returns the formats supported for such case.
All image formats returned by this function will be defined in either ImageFormat
or in PixelFormat
(and there is no possibility of collision).
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.