Skip to main content

Aila_Init

Initialize Aila and begin communications with the kiosk, but does not start scanning.

Signature

void Aila_Init(void);

Description

Initializes the Aila SDK and begins communications with the kiosk hardware if connected. This function should be called once at app launch before using any other SDK functionality.

Aila_Init() may block temporarily while initializing camera and audio, and a permission dialog may be presented as a side effect.

It is recommended to set the configuration via Aila_SetConfiguration() before scanning. Otherwise, the default configuration will be used.

Usage

- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Initialize the SDK
Aila_Init();

return YES;
}

See Also