Interface ScanbotSdkInitializerCommonApi

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract T useCameraXRtuUi(Boolean enable) Controls whether the new Camera X based View will be used in Ready to Use UI components.
      abstract T withLogging(Boolean useLog, Boolean enableNativeLogging) Enables or disables logs in Scanbot SDK.
      abstract T logger(Logger logger) Adjust this parameter to specify which Logger should be used.
      abstract SdkLicenseInfo initialize(Application application) Initializes Scanbot SDK library.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • useCameraXRtuUi

         abstract T useCameraXRtuUi(Boolean enable)

        Controls whether the new Camera X based View will be used in Ready to Use UI components. false by default.

      • withLogging

         abstract T withLogging(Boolean useLog, Boolean enableNativeLogging)

        Enables or disables logs in Scanbot SDK.

        Logs are printed into LogCat as well as saved on the device. You can find them in Environment.getExternalStorageDirectory+ /debug_logs/[package_name]. Usually it is /sdcard/debug_logs/[package_name].

        By default all logs are disabled. If you're using logging, consider switching it off for production builds for security and performance reasons.

        This method must be called before .initialize, so it is possible to change logging settings before initializing the SDK.

        Parameters:
        useLog - true to enable logging, false to disable logging
        enableNativeLogging - set true if logging in C++ native core should be enabled.
      • logger

         abstract T logger(Logger logger)

        Adjust this parameter to specify which Logger should be used. To set a custom logger withLogging must be set to true.

        Parameters:
        logger - implementation of Logger.
      • initialize

         abstract SdkLicenseInfo initialize(Application application)

        Initializes Scanbot SDK library. Can be called only once.