Skip to main content

Aila_ResetScan

Re-initialize the camera settings after a scan is complete.

Signature

void Aila_ResetScan(void);

Description

Resets the camera to optimized settings for subsequent scans. This is recommended for use when scanning multiple barcodes, especially in multi-scan mode. It also resets the duplicate filter session if enabled.

Usage

config.scanCallback = ^(NSArray<AilaScanObject *> *results) {
for (AilaScanObject *scan in results) {
NSLog(@"Scanned: %@", scan.data);
}

// Reset for next scan
Aila_ResetScan();
};

See Also