Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for iOS

SBSLicense Class Reference

Inherits NSObject.

Class Methods

(void) + setAppKey:

Detailed Description

Holds settings that are needed to verify a Scandit Barcode Scanner license.

Method Documentation

+ (void) setAppKey: (nonnull NSString *)  appKey

Set the Barcode Scanner application key to be used for this application.

Call this static method with the Scandit Barcode Scanner application key you downloaded from the Scandit website.

Setting the app key does not automatically activate the device. Device activations happen when a SBSBarcodePicker is instantiated for the first time. It is thus safe to set the app key at application start, irrespective if the user is going to scan barcodes or not.

Note that currently it is not possible to change the app key after a picker has been instantiated. Only the app key set when the first picker is instantiated will be used. You will have to close the application and restart it before changing the app key.

appKeythe application key.

The documentation for this class was generated from the following file: