public interface

ThreadConfig.Builder<B>

 androidx.camera.core.internal.ThreadConfig.Builder<B>

Subclasses:

ImageAnalysis.Builder, VideoCapture.Builder, Preview.Builder, VideoCapture.Builder<T>

Overview

Builder for a ThreadConfig.

Summary

Methods
public java.lang.ObjectsetBackgroundExecutor(java.util.concurrent.Executor executor)

Sets the default executor that will be used for background tasks.

Methods

public java.lang.Object setBackgroundExecutor(java.util.concurrent.Executor executor)

Sets the default executor that will be used for background tasks.

Parameters:

executor: The executor which will be used for background tasks.

Returns:

the current Builder.