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

Builder

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

Builder for a IoConfig.

Summary

Public methods

abstract B
setIoExecutor(@NonNull executor: Executor)

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

Public methods

setIoExecutor

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

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

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