getTemporalWindowSize method

int getTemporalWindowSize()

Gets the size of the FIFO frame buffer, used for processing.

return Size of the FIFO frame buffer, used for processing. throws DocumentException An error has occurred during Document Library execution.

Implementation

int getTemporalWindowSize() {
  Pointer<Int> pTemporalWindowSize = calloc();
  try {
    var err = documentSDK.id3DocumentAuthenticator_GetTemporalWindowSize(_pHandle.value, pTemporalWindowSize);
    if (err != DocumentError.success.value) {
      throw DocumentException(err);
    }
    final vTemporalWindowSize = pTemporalWindowSize.value;
    return vTemporalWindowSize;
  } finally {
    calloc.free(pTemporalWindowSize);
  }
}