Compartilhar via


CaptureRequest.Builder.RemoveTarget(Surface) Method

Definition

Remove a surface from the list of targets for this request.

[Android.Runtime.Register("removeTarget", "(Landroid/view/Surface;)V", "")]
public void RemoveTarget (Android.Views.Surface outputTarget);
[<Android.Runtime.Register("removeTarget", "(Landroid/view/Surface;)V", "")>]
member this.RemoveTarget : Android.Views.Surface -> unit

Parameters

outputTarget
Surface

Surface to use as an output target for this request

Attributes

Remarks

Remove a surface from the list of targets for this request.

Removing a target that is not currently added has no effect.

Java documentation for android.hardware.camera2.CaptureRequest.Builder.removeTarget(android.view.Surface).

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