Macro Mode Control

Defined in package com.scandit.datacapture.core.ui

MacroModeControl
class MacroModeControl : Control

Added in version 8.6.0

Note

Macro mode control is only functional on iOS. On Android it has no native backing, so adding it to a view has no effect.

Control that allows to switch between the available macro modes. The control hides itself automatically in case the active frame source doesn’t support macro mode.

You can add this control to a view by calling DataCaptureView.addControl().

MacroModeControl()
MacroModeControl()

Added in version 8.6.0

Constructors a new macro mode control.

autoImage
var autoImage: InputImage?

Added in version 8.6.0

The button image displayed when the macro mode is auto.

offImage
var offImage: InputImage?

Added in version 8.6.0

The button image displayed when the macro mode is off.

onImage
var onImage: InputImage?

Added in version 8.6.0

The button image displayed when the macro mode is on.

accessibilityLabelWhenAuto
var accessibilityLabelWhenAuto: String?

Added in version 8.6.0

Accessibility label text used for the control button when the macro mode is auto.

accessibilityHintWhenAuto
var accessibilityHintWhenAuto: String?

Added in version 8.6.0

Accessibility hint text used for the control button when the macro mode is auto.

accessibilityLabelWhenOff
var accessibilityLabelWhenOff: String?

Added in version 8.6.0

Accessibility label text used for the control button when the macro mode is off.

accessibilityHintWhenOff
var accessibilityHintWhenOff: String?

Added in version 8.6.0

Accessibility hint text used for the control button when the macro mode is off.

accessibilityLabelWhenOn
var accessibilityLabelWhenOn: String?

Added in version 8.6.0

Accessibility label text used for the control button when the macro mode is on.

accessibilityHintWhenOn
var accessibilityHintWhenOn: String?

Added in version 8.6.0

Accessibility hint text used for the control button when the macro mode is on.