Dev Center
Table of contents

Python API Reference - BarcodeReader License Methods

Method Description
init_license Initializes license key and activates the SDK.
get_idle_instances_count Gets available instances count when charging by concurrent instances count.
init_license_from_server Deprecated
init_license_from_license_content Deprecated
output_license_to_string Deprecated
init_dls_connection_parameters Deprecated
init_license_from_dls Deprecated
init_lts_connection_parameters Deprecated
init_license_from_lts Deprecated

init_license

Initializes license key and activates the SDK.

BarcodeReader.init_license(dbr_license)

Parameters

[in] dbr_license <str> : The product keys.

Return Value

error <tuple> : error_code = error[0], error_message = error[1], if error_code != EnumErrorCode.DBR_OK, you can get the detailed error message by error_message.

get_idle_instances_count

Gets available instances count when charging by concurrent instances count.

BarcodeReader.get_idle_instances_count()

Return Value
count <int> : Returns available instances count.

init_license_from_server

Deprecated. It still works in this version but could be removed in the near future.

BarcodeReader.init_license_from_server(license_server, license_key)

init_license_from_license_content

Deprecated. It still works in this version but could be removed in the near future.

BarcodeReader.init_license_from_license_content(license_key, license_content)

output_license_to_string

Deprecated. It still works in this version but could be removed in the near future.

BarcodeReader.output_license_to_string()

init_dls_connection_parameters

Deprecated. It still works in this version but could be removed in the near future.

BarcodeReader.init_dls_connection_parameters()

init_license_from_dls

Deprecated. It still works in this version but could be removed in the near future.

BarcodeReader.init_license_from_dls(dls_connection_parameters)

init_lts_connection_parameters

Deprecated. It still works in this version but could be removed in the near future.

init_license_from_lts

Deprecated. It still works in this version but could be removed in the near future.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

version 8.9.3

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +