Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

MirrorMode

MirrorMode defines whether to decode mirrored barcodes. It is defined as below:

Value Type Value Range Default Value Template Structure Type
string “MM_NORMAL”
“MM_MIRROR”
“MM_BOTH”
For QRCode, DataMatrix, PDF417, AZTEC, Micro QR Code, Micro PDF417, DotCode and Pharmacode Two-Track, it’s “MM_BOTH”.
For other barcode types, it’s “MM_NORMAL”.
FormatSpecification

Remarks

  • “MM_NORMAL”: Doesn’t decode mirror barcodes.
  • “MM_MIRROR”: Decodes mirror barcodes only.
  • “MM_BOTH”: Decodes both normal and mirror barcodes.

Setting Methods

MirrorMode can be set via JSON template.

As JSON Parameter

MirrorMode as a JSON parameter is a number value defined as below.

Key Name Key Value
MirrorMode “MM_NORMAL”, “MM_MIRROR” or “MM_BOTH” as a string

JSON Example

{
    "MirrorMode": "MM_NORMAL"
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: