Udostępnij za pośrednictwem


CameraExtensionSession.SetRepeatingRequest Method

Definition

Request endlessly repeating device-specific extension processing of camera images.

[Android.Runtime.Register("setRepeatingRequest", "(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraExtensionSession$ExtensionCaptureCallback;)I", "GetSetRepeatingRequest_Landroid_hardware_camera2_CaptureRequest_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraExtensionSession_ExtensionCaptureCallback_Handler", ApiSince=31)]
public virtual int SetRepeatingRequest (Android.Hardware.Camera2.CaptureRequest request, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Camera2.CameraExtensionSession.ExtensionCaptureCallback listener);
[<Android.Runtime.Register("setRepeatingRequest", "(Landroid/hardware/camera2/CaptureRequest;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraExtensionSession$ExtensionCaptureCallback;)I", "GetSetRepeatingRequest_Landroid_hardware_camera2_CaptureRequest_Ljava_util_concurrent_Executor_Landroid_hardware_camera2_CameraExtensionSession_ExtensionCaptureCallback_Handler", ApiSince=31)>]
abstract member SetRepeatingRequest : Android.Hardware.Camera2.CaptureRequest * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraExtensionSession.ExtensionCaptureCallback -> int
override this.SetRepeatingRequest : Android.Hardware.Camera2.CaptureRequest * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraExtensionSession.ExtensionCaptureCallback -> int

Parameters

request
CaptureRequest

the request to repeat indefinitely

executor
IExecutor

the executor which will be used for invoking the listener.

listener
CameraExtensionSession.ExtensionCaptureCallback

The callback object to notify every time the request finishes processing.

Returns

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

Attributes

Remarks

Java documentation for android.hardware.camera2.CameraExtensionSession.setRepeatingRequest(android.hardware.camera2.CaptureRequest, java.util.concurrent.Executor, android.hardware.camera2.ExtensionCaptureCallback).

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