setThreadCount method

void setThreadCount(
  1. int threadCount
)

Sets the number of threads to use for detection. Hint: Default value is 1. Allocating more than 1 thread here can increase the speed of the process.

param threadCount Number of threads to use for detection. throws DocumentException An error has occurred during Document Library execution.

Implementation

void setThreadCount(int threadCount) {
  var err = documentSDK.id3DocumentDetector_SetThreadCount(_pHandle.value, threadCount);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}