CameraCaptureSession.StateCallback.OnActive(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 session starts actively processing capture requests.
[Android.Runtime.Register("onActive", "(Landroid/hardware/camera2/CameraCaptureSession;)V", "GetOnActive_Landroid_hardware_camera2_CameraCaptureSession_Handler")]
public virtual void OnActive (Android.Hardware.Camera2.CameraCaptureSession session);
[<Android.Runtime.Register("onActive", "(Landroid/hardware/camera2/CameraCaptureSession;)V", "GetOnActive_Landroid_hardware_camera2_CameraCaptureSession_Handler")>]
abstract member OnActive : Android.Hardware.Camera2.CameraCaptureSession -> unit
override this.OnActive : Android.Hardware.Camera2.CameraCaptureSession -> unit
Parameters
- session
- CameraCaptureSession
the session returned by #onConfigured
- Attributes
Remarks
This method is called when the session starts actively processing capture requests.
If capture requests are submitted prior to #onConfigured
being called, then the session will start processing those requests immediately after the callback, and this method will be immediately called after #onConfigured
.
If the session runs out of capture requests to process and calls #onReady
, then this callback will be invoked again once new requests are submitted for capture.
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.