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.

SecondaryCamera
Camera SecondaryCamera { get; }

Added in version 8.4.0

The secondary camera.

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
string AccessibilityLabelWhenWorldFacing { get;set; }

Added in version 8.4.0

Accessibility label text used for the button when the world facing camera is selected.

AccessibilityHintWhenWorldFacing
string AccessibilityHintWhenWorldFacing { get;set; }

Added in version 8.4.0

Accessibility hint text used for the button when the world facing camera is selected.

AccessibilityLabelWhenUserFacing
string AccessibilityLabelWhenUserFacing { get;set; }

Added in version 8.4.0

Accessibility label text used for the button when the user facing camera is selected.

AccessibilityHintWhenUserFacing
string AccessibilityHintWhenUserFacing { get;set; }

Added in version 8.4.0

Accessibility hint text used for the button when the user facing camera is selected.