Share via


CameraCaptureSession.SetRepeatingBurst Method

Definition

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

[Android.Runtime.Register("setRepeatingBurst", "(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)I", "GetSetRepeatingBurst_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Landroid_os_Handler_Handler")]
public abstract int SetRepeatingBurst (System.Collections.Generic.IList<Android.Hardware.Camera2.CaptureRequest> requests, Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("setRepeatingBurst", "(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$CaptureCallback;Landroid/os/Handler;)I", "GetSetRepeatingBurst_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_CaptureCallback_Landroid_os_Handler_Handler")>]
abstract member SetRepeatingBurst : System.Collections.Generic.IList<Android.Hardware.Camera2.CaptureRequest> * Android.Hardware.Camera2.CameraCaptureSession.CaptureCallback * Android.OS.Handler -> int

Parameters

requests
IList<CaptureRequest>

the list of requests to cycle through indefinitely

listener
CameraCaptureSession.CaptureCallback

The callback object to notify each time one of the requests in the repeating bursts has finished processing. If null, no metadata will be produced for this stream of requests, although image data will still be produced.

handler
Handler

the handler on which the listener should be invoked, or null to use the current thread's android.os.Looper looper.

Returns

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

Attributes

Remarks

Java documentation for android.hardware.camera2.CameraCaptureSession.setRepeatingBurst(java.util.List, android.hardware.camera2.CaptureCallback, android.os.Handler).

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