CameraCaptureSession.StateCallback.OnConfigured(CameraCaptureSession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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/CameraCaptureSession;)V", "GetOnConfigured_Landroid_hardware_camera2_CameraCaptureSession_Handler")]
public abstract void OnConfigured (Android.Hardware.Camera2.CameraCaptureSession session);
[<Android.Runtime.Register("onConfigured", "(Landroid/hardware/camera2/CameraCaptureSession;)V", "GetOnConfigured_Landroid_hardware_camera2_CameraCaptureSession_Handler")>]
abstract member OnConfigured : Android.Hardware.Camera2.CameraCaptureSession -> unit
Parameters
- session
- CameraCaptureSession
the successfully configured session instance
- Attributes
Remarks
This method is called when the camera device has finished configuring itself, and the session can start processing capture requests.
If there are capture requests already queued with the session, they will start processing once this callback is invoked, and the session will call #onActive
right after this callback is invoked.
If no capture requests have been submitted, then the session will invoke #onReady
right after this callback.
If the camera device configuration fails, then #onConfigureFailed
will be invoked instead of this callback.
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.