License Validation¶
-
bool
Trueface::SDK
::
setLicense
(std::string token)¶ Validates the given license token. Need to call this method before being able to use the SDK.
- Return
Whether the given license token is valid.
- See
- Parameters
[in] token
: the license token (if you do not have this talk to support@trueface.ai).
-
bool
Trueface::SDK
::
isLicensed
(unsigned int &daysRemaining)¶ Checks whether the given license token is valid and you can use the SDK.
- Return
Whether the given license token is valid.
- See
- Parameters
[out] daysRemaining
: the number of remaining days that the token is valid for.