CaptureFailure.Request 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 request associated with this failed capture.
public virtual Android.Hardware.Camera2.CaptureRequest Request { [Android.Runtime.Register("getRequest", "()Landroid/hardware/camera2/CaptureRequest;", "GetGetRequestHandler")] get; }
[<get: Android.Runtime.Register("getRequest", "()Landroid/hardware/camera2/CaptureRequest;", "GetGetRequestHandler")>]
member this.Request : Android.Hardware.Camera2.CaptureRequest
Property Value
The request associated with this failed capture. Never null
.
- Attributes
Remarks
Get the request associated with this failed capture.
Whenever a request is unsuccessfully captured, with CameraCaptureSession.CaptureCallback#onCaptureFailed
, the failed capture
's getRequest()
will return that request
.
In particular, <pre>cameraDevice.capture(someRequest, new CaptureCallback() { {@literal @}Override void onCaptureFailed(CaptureRequest myRequest, CaptureFailure myFailure) { assert(myFailure.getRequest.equals(myRequest) == true); } };
</pre>
Java documentation for android.hardware.camera2.CaptureFailure.getRequest()
.
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.