OutputConfiguration.SetSurfacesForMultiResolutionOutput Method

Definition

Set the OutputConfiguration surfaces corresponding to the MultiResolutionImageReader.

[Android.Runtime.Register("setSurfacesForMultiResolutionOutput", "(Ljava/util/Collection;Landroid/hardware/camera2/MultiResolutionImageReader;)V", "", ApiSince=35)]
public static void SetSurfacesForMultiResolutionOutput (System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.OutputConfiguration> outputConfigurations, Android.Hardware.Camera2.MultiResolutionImageReader multiResolutionImageReader);
[<Android.Runtime.Register("setSurfacesForMultiResolutionOutput", "(Ljava/util/Collection;Landroid/hardware/camera2/MultiResolutionImageReader;)V", "", ApiSince=35)>]
static member SetSurfacesForMultiResolutionOutput : System.Collections.Generic.ICollection<Android.Hardware.Camera2.Params.OutputConfiguration> * Android.Hardware.Camera2.MultiResolutionImageReader -> unit

Parameters

outputConfigurations
ICollection<OutputConfiguration>

The OutputConfiguration objects created by #createInstancesFromMultiResolutionOutput

multiResolutionImageReader
MultiResolutionImageReader

The MultiResolutionImageReader object created from the same MultiResolutionStreamInfo parameters as outputConfigurations.

Attributes

Remarks

Set the OutputConfiguration surfaces corresponding to the MultiResolutionImageReader.

This function should be used together with #createInstancesForMultiResolutionOutput. The application calls #createInstancesForMultiResolutionOutput first to create a list of OutputConfiguration objects without the actual MultiResolutionImageReader. Once the MultiResolutionImageReader is created later during full camera setup, the application then calls this function to assign the surfaces to the OutputConfiguration instances.

Java documentation for android.hardware.camera2.params.OutputConfiguration.setSurfacesForMultiResolutionOutput(java.util.Collection<android.hardware.camera2.params.OutputConfiguration>, android.hardware.camera2.MultiResolutionImageReader).

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