StreamConfigurationMap.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 image format
output formats in this stream configuration.
[Android.Runtime.Register("getOutputFormats", "()[I", "")]
public int[]? GetOutputFormats ();
[<Android.Runtime.Register("getOutputFormats", "()[I", "")>]
member this.GetOutputFormats : unit -> int[]
Returns
an array of integer format
- Attributes
Remarks
Get the image format
output formats in this stream configuration.
All image formats returned by this function will be defined in either ImageFormat
or in PixelFormat
(and there is no possibility of collision).
Formats listed in this array are guaranteed to return true if queried with #isOutputSupportedFor(int)
.
Java documentation for android.hardware.camera2.params.StreamConfigurationMap.getOutputFormats()
.
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.