public class BackgroundThreadFactory
Implementation of ThreadFactory that allows to specify priority of threads.
public static io.scanbot.sdk.util.thread.BackgroundThreadFactory.Companion Companion
@JvmOverloads
public BackgroundThreadFactory(int threadPriority,
@NotNull
java.lang.String threadNamePrefix)
Implementation of ThreadFactory that allows to specify priority of threads.
threadPriority - Priority for all threads created by this factorythreadNamePrefix - Thread name prefix for all threads created by this factory.The unique number of each thread is added to thread name prefix automatically.@JvmOverloads public BackgroundThreadFactory(int threadPriority)
Implementation of ThreadFactory that allows to specify priority of threads.
threadPriority - Priority for all threads created by this factory@JvmOverloads public BackgroundThreadFactory()
Implementation of ThreadFactory that allows to specify priority of threads.