Initializes a new instance of the CameraView class with specified parameters.
| Parameter | Description | |
|---|---|---|
| defaultPreview | Indicates whether the preview should be enabled when the control is initialized. |
true if the preview should be enabled when the control is initialized; otherwise, false.