CaptureRequest.Builder.AddTarget(Surface) Method
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.
Add a surface to the list of targets for this request
[Android.Runtime.Register("addTarget", "(Landroid/view/Surface;)V", "")]
public void AddTarget (Android.Views.Surface outputTarget);
[<Android.Runtime.Register("addTarget", "(Landroid/view/Surface;)V", "")>]
member this.AddTarget : Android.Views.Surface -> unit
Parameters
- outputTarget
- Surface
Surface to use as an output target for this request
- Attributes
Remarks
Add a surface to the list of targets for this request
The Surface added must be one of the surfaces included in the most recent call to CameraDevice#createCaptureSession
, when the request is given to the camera device.
Adding a target more than once has no effect.
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.