VoiceSDK  5.3.1
Classes | Namespaces | Macros | Enumerations | Functions
settings.h File Reference
#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 class  voicesdk::LicenseFeature : unsigned int {
  voicesdk::kCore = 7 , voicesdk::kVerification = 2 , voicesdk::kLivenessPresentationAttackDetection = 4 , voicesdk::kLivenessVoiceClonesDetection = 31 ,
  voicesdk::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...
 

Macro Definition Documentation

◆ PRINT_FEATURE

#define PRINT_FEATURE (   t)    case LicenseFeature::t: os << #t; break;