Package net.idrnd.voicesdk.common
Class VoiceSdkNativePeer
java.lang.Object
net.idrnd.voicesdk.common.VoiceSdkNativePeer
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
LivenessEngine,QualityCheckEngine,SNRComputer,SpeechEndpointDetector,SpeechEndpointDetectorOpus,SpeechSummaryEngine,SpeechSummaryStream,SpeechSummaryStreamOpus,VoiceTemplate,VoiceTemplateConverter,VoiceTemplateFactory,VoiceTemplateMatcher,VoiceVerifyStream,VoiceVerifyStreamOpus
Common base for all VoiceSDK objects that have peers in native layer with life-cycle.
Object native life-cycle looks the following:
- create object and store it in native data structure while exposing some
nativeId used to identify it
- perform necessary actions
- release the object using its nativeId-
Method Summary
-
Method Details
-
equals
-
hashCode
public int hashCode() -
close
public void close()Releases the native allocated memory- Specified by:
closein interfaceAutoCloseable- Throws:
VoiceSdkEngineException- wraps native exceptions
-