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.