Condividi tramite


CameraCaptureSession.SetRepeatingBurst Metodo

Definizione

Richiedere l'acquisizione infinita di una sequenza di immagini da parte di questa sessione di acquisizione.

[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

Parametri

requests
IList<CaptureRequest>

l'elenco delle richieste da scorrere per un periodo illimitato

listener
CameraCaptureSession.CaptureCallback

Oggetto callback per notificare ogni volta che una delle richieste nei burst ripetuti ha terminato l'elaborazione. Se null, non verranno generati metadati per questo flusso di richieste, anche se i dati dell'immagine verranno comunque generati.

handler
Handler

gestore in cui deve essere richiamato il listener o null per usare il thread android.os.Looper loopercorrente.

Restituisce

int ID sequenza di acquisizione univoco usato da CaptureCallback#onCaptureSequenceCompleted.

Attributi

Commenti

Documentazione java per android.hardware.camera2.CameraCaptureSession.setRepeatingBurst(java.util.List, android.hardware.camera2.CaptureCallback, android.os.Handler).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a