Aila_Start
Turn on kiosk illumination and begin scanning.
Signature
- Objective-C
- Swift
void Aila_Start(void);
func Aila_Start()
Description
Starts the scanning process and turns on kiosk illumination. When a barcode is successfully scanned, the scanCallback configured in AilaConfiguration will be invoked.
In mobile applications, scanning should not be enabled for extended periods of time, as the additional CPU usage will affect battery life. Additionally, the Mobile Imager (legacy) is not designed to provide continuous illumination.
Usage
- Objective-C
- Swift
- (void)startScanning {
Aila_Start();
NSLog(@"Scanning started");
}
func startScanning() {
Aila_Start()
print("Scanning started")
}
See Also
- Aila_Stop - Stop scanning
- Aila_ResetScan - Reset camera after scan
- Aila_SetConfiguration - Configure scan callback