Builder

interface Builder<B : Any!>
androidx.camera.core.impl.CameraConfig.Builder

Builder for creating a CameraConfig.

Summary

Public methods
abstract B
setCompatibilityId(@NonNull identifier: Identifier)

Sets compatibility Identifier for the camera config.

abstract B
setSessionProcessor(@NonNull sessionProcessor: SessionProcessor)

Sets the session processor which will transform the stream configurations and will perform the repeating request and still capture request when being requested by CameraX.

abstract B
setUseCaseCombinationRequiredRule(useCaseCombinationRequiredRule: Int)

Sets use case combination required rule to this configuration.

abstract B

Sets a UseCaseConfigFactory for the camera config.

Public methods

setCompatibilityId

@NonNull abstract fun setCompatibilityId(@NonNull identifier: Identifier): B

Sets compatibility Identifier for the camera config.

setSessionProcessor

@NonNull abstract fun setSessionProcessor(@NonNull sessionProcessor: SessionProcessor): B

Sets the session processor which will transform the stream configurations and will perform the repeating request and still capture request when being requested by CameraX.

setUseCaseCombinationRequiredRule

@NonNull abstract fun setUseCaseCombinationRequiredRule(useCaseCombinationRequiredRule: Int): B

Sets use case combination required rule to this configuration.

setUseCaseConfigFactory

@NonNull abstract fun setUseCaseConfigFactory(@NonNull factory: UseCaseConfigFactory): B

Sets a UseCaseConfigFactory for the camera config.