8#ifndef SCANBOTSDK_LICENSINGTYPES_H
9#define SCANBOTSDK_LICENSINGTYPES_H
17#include <ScanbotSDKDefs.h>
96 const char* error_message,
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
SBSDK_API scanbotsdk_error_code_t scanbotsdk_device_deregistration_error_get_device_id(scanbotsdk_device_deregistration_error_t *self, int *device_id)
Returns value of device_id field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_device_deregistation_errors_size(scanbotsdk_license_info_t *self, size_t *size)
Returns size of device_deregistation_errors array.
scanbotsdk_license_status_t
scanbotsdk_license_status_t enum
Definition ScanbotSDKLicensingTypes.h:29
SBSDK_API scanbotsdk_error_code_t scanbotsdk_feature_t_to_string(scanbotsdk_feature_t value, const char **result)
Returns the string representation of the given scanbotsdk_feature_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_is_valid(scanbotsdk_license_info_t *self, bool *is_valid)
Returns value of is_valid field of the given object.
struct scanbotsdk_device_deregistration_error_t scanbotsdk_device_deregistration_error_t
scanbotsdk_device_deregistration_error_t class
Definition ScanbotSDKLicensingTypes.h:81
struct scanbotsdk_license_info_t scanbotsdk_license_info_t
scanbotsdk_license_info_t class
Definition ScanbotSDKLicensingTypes.h:134
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_device_deregistation_errors(scanbotsdk_license_info_t *self, scanbotsdk_device_deregistration_error_t **device_deregistation_errors, size_t size)
Returns value of device_deregistation_errors field of the given object. The returned pointers do NOT ...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_device_deregistration_error_create(int device_id, const char *error_message, scanbotsdk_device_deregistration_error_t **result)
Creates a new instance of scanbotsdk_device_deregistration_error with given params and stores it in t...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_next_online_license_check_in_ms(scanbotsdk_license_info_t *self, double *next_online_license_check_in_ms)
Returns value of next_online_license_check_in_ms field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_status_t_to_string(scanbotsdk_license_status_t value, const char **result)
Returns the string representation of the given scanbotsdk_license_status_t value.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_device_deregistration_error_get_error_message(scanbotsdk_device_deregistration_error_t *self, const char **error_message)
Returns value of error_message field of the given object. The returned pointers do NOT own the underl...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_status(scanbotsdk_license_info_t *self, scanbotsdk_license_status_t *status)
Returns value of status field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_expiration_timestamp(scanbotsdk_license_info_t *self, double *expiration_timestamp)
Returns value of expiration_timestamp field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_expiration_date_string(scanbotsdk_license_info_t *self, const char **expiration_date_string)
Returns value of expiration_date_string field of the given object. The returned pointers do NOT own t...
scanbotsdk_feature_t
scanbotsdk_feature_t enum
Definition ScanbotSDKLicensingTypes.h:271
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_license(scanbotsdk_license_info_t *self, const char **license)
Returns value of license field of the given object. The returned pointers do NOT own the underlying o...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_free(scanbotsdk_license_info_t *object)
Frees the memory allocated for the instance of scanbotsdk_license_info_t. If null is passed,...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_error_message(scanbotsdk_license_info_t *self, const char **error_message)
Returns value of error_message field of the given object. The returned pointers do NOT own the underl...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_device_deregistration_error_free(scanbotsdk_device_deregistration_error_t *object)
Frees the memory allocated for the instance of scanbotsdk_device_deregistration_error_t....
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_license_status_message(scanbotsdk_license_info_t *self, const char **license_status_message)
Returns value of license_status_message field of the given object. The returned pointers do NOT own t...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_online_license_check_in_progress(scanbotsdk_license_info_t *self, bool *online_license_check_in_progress)
Returns value of online_license_check_in_progress field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_license_info_get_devices(scanbotsdk_license_info_t *self, int **devices)
Returns value of devices field of the given object. The returned pointers do NOT own the underlying o...
@ SCANBOTSDK_LICENSE_STATUS_OKAY_EXPIRING_SOON
Definition ScanbotSDKLicensingTypes.h:38
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_EXPIRED
Definition ScanbotSDKLicensingTypes.h:53
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_WRONG_OS
Definition ScanbotSDKLicensingTypes.h:47
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_VERSION
Definition ScanbotSDKLicensingTypes.h:59
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_SERVER
Definition ScanbotSDKLicensingTypes.h:56
@ SCANBOTSDK_LICENSE_STATUS_OKAY
Definition ScanbotSDKLicensingTypes.h:32
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_APP_ID_MISMATCH
Definition ScanbotSDKLicensingTypes.h:50
@ SCANBOTSDK_LICENSE_STATUS_TRIAL
Definition ScanbotSDKLicensingTypes.h:35
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_NOT_SET
Definition ScanbotSDKLicensingTypes.h:41
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_CORRUPTED
Definition ScanbotSDKLicensingTypes.h:44
@ SCANBOTSDK_LICENSE_STATUS_FAILURE_INACTIVE
Definition ScanbotSDKLicensingTypes.h:62
@ SCANBOTSDK_FEATURE_CHECK_SCANNER
Definition ScanbotSDKLicensingTypes.h:277
@ SCANBOTSDK_FEATURE_LICENSE_PLATE_SCANNER
Definition ScanbotSDKLicensingTypes.h:289
@ SCANBOTSDK_FEATURE_DOCUMENT_SCANNER
Definition ScanbotSDKLicensingTypes.h:286
@ SCANBOTSDK_FEATURE_TEXT_PATTERN_SCANNER
Definition ScanbotSDKLicensingTypes.h:301
@ SCANBOTSDK_FEATURE_OCR
Definition ScanbotSDKLicensingTypes.h:298
@ SCANBOTSDK_FEATURE_IMAGE_PROCESSING
Definition ScanbotSDKLicensingTypes.h:283
@ SCANBOTSDK_FEATURE_CREDIT_CARD_SCANNER
Definition ScanbotSDKLicensingTypes.h:280
@ SCANBOTSDK_FEATURE_ID_CARD_SCANNER
Definition ScanbotSDKLicensingTypes.h:307
@ SCANBOTSDK_FEATURE_EHIC_SCANNER
Definition ScanbotSDKLicensingTypes.h:313
@ SCANBOTSDK_FEATURE_MEDICAL_CERTIFICATE_SCANNER
Definition ScanbotSDKLicensingTypes.h:292
@ SCANBOTSDK_FEATURE_DRIVER_LICENSE_SCANNER
Definition ScanbotSDKLicensingTypes.h:310
@ SCANBOTSDK_FEATURE_DOCUMENT_CLASSIFICATION
Definition ScanbotSDKLicensingTypes.h:316
@ SCANBOTSDK_FEATURE_BARCODE_SCANNER
Definition ScanbotSDKLicensingTypes.h:274
@ SCANBOTSDK_FEATURE_MRZ_SCANNER
Definition ScanbotSDKLicensingTypes.h:295
@ SCANBOTSDK_FEATURE_PDF_CREATION
Definition ScanbotSDKLicensingTypes.h:304