VoiceSDK
5.0.2
|
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
#include <voicesdk/core/config.h>
Go to the source code of this file.
Classes | |
class | voicesdk::LicenseException |
A type for exception which is thrown on license expiration or absence. More... | |
struct | voicesdk::LicenseFeatureInfo |
VoiceSDK feature information. More... | |
Namespaces | |
voicesdk | |
Macros | |
#define | PRINT_FEATURE(t) case LicenseFeature::t: os << #t; break; |
Enumerations | |
enum | voicesdk::LicenseFeature : unsigned int { voicesdk::LicenseFeature::kCore = 7, voicesdk::LicenseFeature::kVerification = 2, voicesdk::LicenseFeature::kLivenessPresentationAttackDetection = 4, voicesdk::LicenseFeature::kLivenessVoiceClonesDetection = 31, voicesdk::LicenseFeature::kQualityChecking = 6 } |
VoiceSDK licensed features. More... | |
Functions | |
std::ostream & | voicesdk::operator<< (std::ostream &os, const LicenseFeature &feature) |
VOICE_SDK_API std::vector< LicenseFeatureInfo > | voicesdk::getLicenseInfo () |
Returns information (enabled features and expiration dates) about the installed license if available. More... | |
VOICE_SDK_API void | voicesdk::setNumThreads (unsigned int numThreads) noexcept |
Sets the maximum number of threads available for VoiceSDK. If 0 passed, then the optimal number of threads is detected automatically (the same effect is achieved if setNumThreads is not called). More... | |
VOICE_SDK_API void | voicesdk::setAllowMobileGPU (bool allowMobileGPU) noexcept |
Sets whether GPU delegate allowed to be used for VoiceSDK (for Android devices only). More... | |
VOICE_SDK_API void | voicesdk::setAllowMobileNNAPI (bool allowMobileNNAPI) noexcept |
Sets whether NNAPI delegate allowed to be used for VoiceSDK (for Android devices only). More... | |
VOICE_SDK_API void | voicesdk::setUseVoiceTemplateCompression (bool useVoiceTemplateCompression) noexcept |
Sets whether to compress voice templates serialization. Voice template compression is not used by default. More... | |
VOICE_SDK_API void | voicesdk::setMobileLicense (const std::string &mobile_license_string) |
Sets the mobile SDK license (only can be used for Android and iOS SDKs). More... | |
#define PRINT_FEATURE | ( | t | ) | case LicenseFeature::t: os << #t; break; |