Initializes a new instance of the CameraView class with specified parameters.
public CameraView(bool defaultPreview)
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.