Langue

CameraCaptureSession.InputSurface Property

Definition

Get the input Surface associated with a reprocessable capture session.

public abstract Android.Views.Surface? InputSurface { [Android.Runtime.Register("getInputSurface", "()Landroid/view/Surface;", "GetGetInputSurfaceHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getInputSurface", "()Landroid/view/Surface;", "GetGetInputSurfaceHandler", ApiSince=23)>]
member this.InputSurface : Android.Views.Surface

Property Value

The Surface where reprocessing capture requests get the input images from. If this is not a reprocess capture session, null will be returned.

Attributes

Remarks

Get the input Surface associated with a reprocessable capture session.

Each reprocessable capture session has an input Surface where the reprocess capture requests get the input images from, rather than the camera device. The application can create a ImageWriter with this input Surface and use it to provide input images for reprocess capture requests. When the reprocessable capture session is closed, the input Surface is abandoned and becomes invalid.

Android reference for android.hardware.camera2.CameraCaptureSession.getInputSurface.

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