Partager via


StreamConfigurationMap.GetOutputFormats Method

Definition

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

Int32[]

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.

Applies to

See also