The second Android 11 Developer Preview is now available, test it out and share your feedback.

Builder

interface Builder<B : Any!>
androidx.camera.core.internal.ThreadConfig.Builder

Builder for a ThreadConfig.

Summary

Public methods

abstract B
setBackgroundExecutor(@NonNull executor: Executor)

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

Public methods

setBackgroundExecutor

@NonNull abstract fun setBackgroundExecutor(@NonNull executor: Executor): B

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

Parameters
executor Executor: The executor which will be used for background tasks.
Return
B the current Builder.