Sdílet prostřednictvím


CameraExtensionSession.StateCallback.OnConfigured Method

Definition

This method is called when the camera device has finished configuring itself, and the session can start processing capture requests.

[Android.Runtime.Register("onConfigured", "(Landroid/hardware/camera2/CameraExtensionSession;)V", "GetOnConfigured_Landroid_hardware_camera2_CameraExtensionSession_Handler", ApiSince=31)]
public abstract void OnConfigured (Android.Hardware.Camera2.CameraExtensionSession session);
[<Android.Runtime.Register("onConfigured", "(Landroid/hardware/camera2/CameraExtensionSession;)V", "GetOnConfigured_Landroid_hardware_camera2_CameraExtensionSession_Handler", ApiSince=31)>]
abstract member OnConfigured : Android.Hardware.Camera2.CameraExtensionSession -> unit

Parameters

session
CameraExtensionSession

A valid extension session

Attributes

Remarks

This method is called when the camera device has finished configuring itself, and the session can start processing capture requests.

If the camera device configuration fails, then #onConfigureFailed will be invoked instead of this callback.

Java documentation for android.hardware.camera2.CameraExtensionSession.StateCallback.onConfigured(android.hardware.camera2.CameraExtensionSession).

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