CameraCaptureSession.SetSingleRepeatingRequest 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.
Request endlessly repeating capture of images by this capture session.
[Android.Runtime.Register("setSingleRepeatingRequest", "(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I", "GetSetSingleRepeatingRequest_Landroid_hardware_camera2_CaptureRequest_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Handler", ApiSince=28)]
public virtual int SetSingleRepeatingRequest (Android.Hardware.Camera2.CaptureRequest request, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback listener);
[<Android.Runtime.Register("setSingleRepeatingRequest", "(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I", "GetSetSingleRepeatingRequest_Landroid_hardware_camera2_CaptureRequest_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Handler", ApiSince=28)>]
abstract member SetSingleRepeatingRequest : Android.Hardware.Camera2.CaptureRequest * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback -> int
override this.SetSingleRepeatingRequest : Android.Hardware.Camera2.CaptureRequest * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback -> int
Parameters
- request
- CaptureRequest
the request to repeat indefinitely
- executor
- IExecutor
the executor which will be used for invoking the listener.
- listener
- CameraCaptureSession.CaptureCallback
The callback object to notify every time the request finishes processing.
Returns
int A unique capture sequence ID used by
CaptureCallback#onCaptureSequenceCompleted
.
- Attributes
Remarks
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.