Partager via


CameraCaptureSession.CaptureBurst Method

Definition

Submit a list of requests to be captured in sequence as a burst.

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

Parameters

requests
IList<CaptureRequest>

the list of settings for this burst capture

listener
CameraCaptureSession.CaptureCallback

The callback object to notify each time one of the requests in the burst has been processed. If null, no metadata will be produced for any requests in this burst, 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.captureBurst(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