Settings

Superclass:
NSObject
Declared In:

Introduction

VoiceSDK settings.



Methods

+getLicenseInfo:

Returns information (enabled features and expiration dates) about the installed license if available.

+setNumThreads:

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).

+setUseVoiceTemplateCompression:

Sets whether to compress voice templates serialization. Voice template compression is not used by default.


getLicenseInfo:


Returns information (enabled features and expiration dates) about the installed license if available.

+ (NSArray* _Nullable)getLicenseInfo:(NSError* _Nullable* _Nullable)error; 
Return Value

Array of VoiceSDK features available with the installed license.


setNumThreads:


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).

+ (void)setNumThreads:(unsigned int)numThreads; 
Parameters
numThreads

maximum number of threads available for VoiceSDK.


setUseVoiceTemplateCompression:


Sets whether to compress voice templates serialization. Voice template compression is not used by default.

+ (void)setUseVoiceTemplateCompression:(bool)useVoiceTemplateCompression; 
Parameters
useVoiceTemplateCompression

whether to compress voice templates serialization.