Language

OutputConfiguration.MakeDeferredAndRemoveSurfaces Method

Definition

Clear any valid output surfaces and mark the configuration as deferred.

[Android.Runtime.Register("makeDeferredAndRemoveSurfaces", "()Landroid/hardware/camera2/params/OutputConfiguration;", "", ApiSince=37)]
public Android.Hardware.Camera2.Params.OutputConfiguration MakeDeferredAndRemoveSurfaces();
[<Android.Runtime.Register("makeDeferredAndRemoveSurfaces", "()Landroid/hardware/camera2/params/OutputConfiguration;", "", ApiSince=37)>]
member this.MakeDeferredAndRemoveSurfaces : unit -> Android.Hardware.Camera2.Params.OutputConfiguration

Returns

Attributes

Remarks

Clear any valid output surfaces and mark the configuration as deferred.

Do note that this method is intended to be used in conjunction with CameraCaptureSession.updateOutputConfigurations(List) and not CameraCaptureSession.finalizeOutputConfigurations. The latter method is intended to be used only when clients want to finalize an already registered deferred OutputConfiguration with a valid Surface. However surface finalization doesn't accept deferred output configurations. Switching a valid registered surface to deferred state is only possible with CameraCaptureSession.updateOutputConfiguration.

Android reference for android.hardware.camera2.params.OutputConfiguration.makeDeferredAndRemoveSurfaces.

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