Camera Switch Control
Defined in namespace Scandit.DataCapture.Core.UI
- CameraSwitchControl
class CameraSwitchControl : IControl
Added in version 8.4.0
Control that allows to switch between a primary and a secondary camera.
You can add this control to a view by calling DataCaptureView.AddControl().
Adding a camera switch control to a view sets the primary camera as the view’s context frame source.
- CameraSwitchControl()
CameraSwitchControl(Camera primaryCamera, Camera secondaryCamera)
Added in version 8.4.0
Initializes a CameraSwitchControl with two cameras.
- PrimaryCamera
Camera PrimaryCamera { get; }
Added in version 8.4.0
The primary camera. Calling DataCaptureView.AddControl() sets this camera as the view’s context frame source.
- PrimaryCameraImage
Image PrimaryCameraImage { get;set; }
Added in version 8.4.0
The button image displayed when the primary camera is selected.
- PrimaryCameraPressedImage
Image PrimaryCameraPressedImage { get;set; }
Added in version 8.4.0
The button image displayed when the primary camera is selected and pressed.
- SecondaryCameraImage
Image SecondaryCameraImage { get;set; }
Added in version 8.4.0
The button image displayed when the secondary camera is selected.
- SecondaryCameraPressedImage
Image SecondaryCameraPressedImage { get;set; }
Added in version 8.4.0
The button image displayed when the secondary camera is selected and pressed.
- AccessibilityLabelWhenWorldFacing
stringAccessibilityLabelWhenWorldFacing { get;set; }Added in version 8.4.0
Accessibility label text used for the button when the world facing camera is selected.
- AccessibilityHintWhenWorldFacing
stringAccessibilityHintWhenWorldFacing { get;set; }Added in version 8.4.0
Accessibility hint text used for the button when the world facing camera is selected.
- AccessibilityLabelWhenUserFacing
stringAccessibilityLabelWhenUserFacing { get;set; }Added in version 8.4.0
Accessibility label text used for the button when the user facing camera is selected.
- AccessibilityHintWhenUserFacing
stringAccessibilityHintWhenUserFacing { get;set; }Added in version 8.4.0
Accessibility hint text used for the button when the user facing camera is selected.