VoiceTemplateMatcher
IntroductionClass for matching voice templates. Methods
getInitDataId:Returns ID of the init data, which was used to create the matcher. - (NSString* _Nullable)getInitDataId:(NSError* _Nullable* _Nullable)error; ParametersReturn ValueA string containing init data ID. initWithPath:error:Creates VoiceTemplateMatcher instance. - (instancetype _Nullable)initWithPath:(NSString* _Nonnull)path error:(NSError* _Nullable* _Nullable)error; ParametersmatchVoiceTemplates:template2:error:Matches two voice templates one-to-one. - (VerifyResult* _Nullable)matchVoiceTemplates:(VoiceTemplate* _Nonnull)template1 template2:(VoiceTemplate* _Nonnull)template2 error:(NSError* _Nullable* _Nullable)error; ParametersReturn ValueVoice verification result. Both templates should have the same init data ID as the matcher instance: |