Udostępnij za pośrednictwem


MultiResolutionStreamConfigurationMap.GetOutputFormats Method

Definition

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

Int32[]

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).

Java documentation for android.hardware.camera2.params.MultiResolutionStreamConfigurationMap.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