IoConfig

interface IoConfig
androidx.camera.core.internal.IoConfig

Configuration containing IO related options.

Summary

Nested classes

abstract

Builder for a IoConfig.

Public methods

abstract Executor?
getIoExecutor(@Nullable valueIfMissing: Executor?)

Returns the executor that will be used for IO tasks.

abstract Executor

Returns the executor that will be used for IO tasks.

Properties

static Option<Executor!>!

Option: camerax.

Public methods

getIoExecutor

@Nullable abstract fun getIoExecutor(@Nullable valueIfMissing: Executor?): Executor?

Returns the executor that will be used for IO tasks.

Parameters
valueIfMissing Executor?: The value to return if this configuration option has not been set.
Return
Executor?: The stored value or valueIfMissing if the value does not exist in this configuration.

getIoExecutor

@NonNull abstract fun getIoExecutor(): Executor

Returns the executor that will be used for IO tasks.

Return
Executor: The stored value, if it exists in this configuration.
Exceptions
IllegalArgumentException if the option does not exist in this configuration.

Properties

OPTION_IO_EXECUTOR

static val OPTION_IO_EXECUTOR: Option<Executor!>!

Option: camerax.core.io.ioExecutor