CameraDevice.StateCallback.OnOpened(CameraDevice) 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.
The method called when a camera device has finished opening.
[Android.Runtime.Register("onOpened", "(Landroid/hardware/camera2/CameraDevice;)V", "GetOnOpened_Landroid_hardware_camera2_CameraDevice_Handler")]
public abstract void OnOpened (Android.Hardware.Camera2.CameraDevice camera);
[<Android.Runtime.Register("onOpened", "(Landroid/hardware/camera2/CameraDevice;)V", "GetOnOpened_Landroid_hardware_camera2_CameraDevice_Handler")>]
abstract member OnOpened : Android.Hardware.Camera2.CameraDevice -> unit
Parameters
- camera
- CameraDevice
the camera device that has become opened
- Attributes
Remarks
The method called when a camera device has finished opening.
At this point, the camera device is ready to use, and CameraDevice#createCaptureSession
can be called to set up the first capture session.
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.