Face Engine SDK
5.25.0
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. | |
virtual ResultValue< FSDKError, bool > | isActivated () const noexcept=0 |
Checks if current license object is activated and could be used by FaceEngine. | |
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. | |
virtual Result< FSDKError > | loadFromFile (const char *path, const ISettingsProvider *settings) noexcept=0 |
Loads license from file. | |
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. | |
virtual ResultValue< FSDKError, uint32_t > | getExpirationDate (LicenseFeature feature) const noexcept=0 |
Gets license expiration date. | |
virtual Result< FSDKError > | getLicenseType (int &licenseType) const noexcept=0 |
Gets license type. |
License objects interface.
virtual ResultValue<FSDKError, bool> fsdk::ILicense::checkFeatureId | ( | LicenseFeature | feature | ) | const [pure virtual] |
Checks if the feature with featureId is available in this license.
[in] | feature | LicenseFeature type. |
fsdk::ILicense::FSDK_DEPRECATED | ( | "loadFromFile is deprecated since v.5.5. | 0, |
""Use loadFromFile(const char *path, const ISettingsProvider *settings) instead" | |||
) | const [pure virtual] |
virtual ResultValue<FSDKError, uint32_t> fsdk::ILicense::getExpirationDate | ( | LicenseFeature | feature | ) | const [pure virtual] |
Gets license expiration date.
[in] | feature | LicenseFeature type. |
virtual Result<FSDKError> fsdk::ILicense::getLicenseType | ( | int & | licenseType | ) | const [pure virtual] |
Gets license type.
[out] | licenseType |
virtual ResultValue<FSDKError, bool> fsdk::ILicense::isActivated | ( | ) | const [pure virtual] |
Checks if current license object is activated and could be used by FaceEngine.
virtual Result<FSDKError> fsdk::ILicense::loadFromFile | ( | const char * | path, |
const ISettingsProvider * | settings | ||
) | [pure virtual] |
Loads license from file.
[in] | path | path to the file. |
[in] | settings | License settings provider. |
virtual Result<FSDKError> fsdk::ILicense::saveToFile | ( | const char * | path | ) | const [pure virtual] |