Sdílet prostřednictvím


OutputConfiguration.RemoveSurface(Surface) Method

Definition

Remove a surface from this OutputConfiguration.

[Android.Runtime.Register("removeSurface", "(Landroid/view/Surface;)V", "", ApiSince=28)]
public void RemoveSurface (Android.Views.Surface surface);
[<Android.Runtime.Register("removeSurface", "(Landroid/view/Surface;)V", "", ApiSince=28)>]
member this.RemoveSurface : Android.Views.Surface -> unit

Parameters

surface
Surface

The surface to be removed.

Attributes

Remarks

Remove a surface from this OutputConfiguration.

Surfaces added via calls to #addSurface can also be removed from the OutputConfiguration. The only notable exception is the surface associated with the OutputConfiguration see #getSurface which was passed as part of the constructor or was added first in the deferred case OutputConfiguration#OutputConfiguration(Size, Class).

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