getCaptureSessionState method
Implementation
Pointer<Void> getCaptureSessionState(Pointer<Void> libraryPtr) {
Pointer<Pointer<Void>> captureSessionStateOut = calloc();
int error = _getCaptureSessionState(libraryPtr, captureSessionStateOut);
if( error != FaceCaptureErrorCode.noErrors.value ) {
throw FaceCaptureException(error);
}
Pointer<Void> captureSessionPtr = captureSessionStateOut.value;
calloc.free(captureSessionStateOut);
return captureSessionPtr;
}