captureFrame method
void
captureFrame()
Implementation
void captureFrame() {
FTR_USER_CTX ftrUserCtx = calloc<Int32>();
FTR_FRAME_BUFFER ftrFrameBuffer = calloc(sizeOf<Int32>() * _imageSize);
int captureFrameResult = _captureFrame(ftrUserCtx, ftrFrameBuffer);
if (captureFrameResult != 0) {
throw FutronicError(FutronicUtils.getErrorMessage(captureFrameResult));
}
}