CameraCaptureSession.InputSurface Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.