Freigeben über


CameraCaptureSession.StateCallback.OnReady(CameraCaptureSession) Method

Definition

This method is called every time the session has no more capture requests to process.

[Android.Runtime.Register("onReady", "(Landroid/hardware/camera2/CameraCaptureSession;)V", "GetOnReady_Landroid_hardware_camera2_CameraCaptureSession_Handler")]
public virtual void OnReady (Android.Hardware.Camera2.CameraCaptureSession session);
[<Android.Runtime.Register("onReady", "(Landroid/hardware/camera2/CameraCaptureSession;)V", "GetOnReady_Landroid_hardware_camera2_CameraCaptureSession_Handler")>]
abstract member OnReady : Android.Hardware.Camera2.CameraCaptureSession -> unit
override this.OnReady : Android.Hardware.Camera2.CameraCaptureSession -> unit

Parameters

session
CameraCaptureSession

the session returned by #onConfigured

Attributes

Remarks

This method is called every time the session has no more capture requests to process.

During the creation of a new session, this callback is invoked right after #onConfigured if no capture requests were submitted to the session prior to it completing configuration.

Otherwise, this callback will be invoked any time the session finishes processing all of its active capture requests, and no repeating request or burst is set up.

Java documentation for android.hardware.camera2.CameraCaptureSession.StateCallback.onReady(android.hardware.camera2.CameraCaptureSession).

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