Face Engine SDK
5.23.1
A face detection, recognition and tracking engine.
|
License objects interface. More...
#include <ILicense.h>
Public Member Functions | |
virtual ResultValue< FSDKError, bool > | checkFeatureId (LicenseFeature feature) const noexcept=0 |
Checks if the feature with featureId is available in this license. More... | |
virtual ResultValue< FSDKError, bool > | isActivated () const noexcept=0 |
Checks if current license object is activated and could be used by FaceEngine. More... | |
FSDK_DEPRECATED ("loadFromFile is deprecated since v.5.5.0,"" Use loadFromFile(const char* path, const ISettingsProvider* settings) instead") virtual Result< FSDKError > loadFromFile(const char *path) noexcept=0 | |
Loads license from file. More... | |
virtual Result< FSDKError > | loadFromFile (const char *path, const ISettingsProvider *settings) noexcept=0 |
Loads license from file. More... | |
virtual Result< FSDKError > | saveToFile (const char *path) const noexcept=0 |
Saves license as raw format to the file. This file could be used in the next run of the application. More... | |
virtual ResultValue< FSDKError, uint32_t > | getExpirationDate (LicenseFeature feature) const noexcept=0 |
Gets license expiration date. More... | |
virtual Result< FSDKError > | getLicenseType (int &licenseType) const noexcept=0 |
Gets license type. More... | |
Public Member Functions inherited from fsdk::IRefCounted | |
virtual int32_t | retain () noexcept=0 |
Increase strong reference count. More... | |
virtual int32_t | retainLocked () noexcept=0 |
Increase strong reference count thread safely. More... | |
virtual int32_t | release () noexcept=0 |
Decrease strong reference count. More... | |
virtual int32_t | getRefCount () const noexcept=0 |
Get actual strong reference count. More... | |
virtual int32_t | retainWeak () noexcept=0 |
Increase weak reference count. More... | |
virtual int32_t | releaseWeak () noexcept=0 |
Decrease weak reference count. More... | |
virtual int32_t | getWeakRefCount () const noexcept=0 |
Get actual weak reference count. More... | |
License objects interface.
|
pure virtualnoexcept |
Checks if the feature with featureId is available in this license.
[in] | feature | LicenseFeature type. |
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Gets license expiration date.
[in] | feature | LicenseFeature type. |
|
pure virtualnoexcept |
Gets license type.
[out] | licenseType |
|
pure virtualnoexcept |
Checks if current license object is activated and could be used by FaceEngine.
|
pure virtualnoexcept |
Loads license from file.
[in] | path | path to the file. |
[in] | settings | License settings provider. |