Freigeben über


CameraCaptureSession.SetRepeatingBurstRequests Method

Definition

Request endlessly repeating capture of a sequence of images by this capture session.

[Android.Runtime.Register("setRepeatingBurstRequests", "(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I", "GetSetRepeatingBurstRequests_Ljava_util_List_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Handler", ApiSince=28)]
public virtual int SetRepeatingBurstRequests (System.Collections.Generic.IList<Android.Hardware.Camera2.CaptureRequest> requests, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback listener);
[<Android.Runtime.Register("setRepeatingBurstRequests", "(Ljava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;)I", "GetSetRepeatingBurstRequests_Ljava_util_List_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Handler", ApiSince=28)>]
abstract member SetRepeatingBurstRequests : System.Collections.Generic.IList<Android.Hardware.Camera2.CaptureRequest> * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback -> int
override this.SetRepeatingBurstRequests : System.Collections.Generic.IList<Android.Hardware.Camera2.CaptureRequest> * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback -> int

Parameters

requests
IList<CaptureRequest>

the list of requests to cycle through indefinitely

executor
IExecutor

the executor which will be used for invoking the listener.

listener
CameraCaptureSession.CaptureCallback

The callback object to notify each time one of the requests in the repeating bursts has finished processing.

Returns

int A unique capture sequence ID used by CaptureCallback#onCaptureSequenceCompleted.

Attributes

Remarks

Java documentation for android.hardware.camera2.CameraCaptureSession.setRepeatingBurstRequests(java.util.List, java.util.concurrent.Executor, android.hardware.camera2.CaptureCallback).

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