public interface

CameraConfig.Builder<B>

 androidx.camera.core.impl.CameraConfig.Builder<B>

Overview

Builder for creating a CameraConfig.

Summary

Methods
public java.lang.ObjectsetCaptureProcessProgressSupported(boolean supported)

Sets if the capture process progress is supported.

public java.lang.ObjectsetCompatibilityId(Identifier identifier)

Sets compatibility Identifier for the camera config.

public java.lang.ObjectsetPostviewSupported(boolean postviewSupported)

Sets if the postview is supported or not.

public java.lang.ObjectsetSessionProcessor(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.

public java.lang.ObjectsetUseCaseCombinationRequiredRule(int useCaseCombinationRequiredRule)

Sets use case combination required rule to this configuration.

public java.lang.ObjectsetUseCaseConfigFactory(UseCaseConfigFactory factory)

Sets a UseCaseConfigFactory for the camera config.

public java.lang.ObjectsetZslDisabled(boolean disabled)

Sets zsl disabled or not.

Methods

public java.lang.Object setUseCaseConfigFactory(UseCaseConfigFactory factory)

Sets a UseCaseConfigFactory for the camera config.

public java.lang.Object setCompatibilityId(Identifier identifier)

Sets compatibility Identifier for the camera config.

public java.lang.Object setUseCaseCombinationRequiredRule(int useCaseCombinationRequiredRule)

Sets use case combination required rule to this configuration.

public java.lang.Object setSessionProcessor(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.

public java.lang.Object setZslDisabled(boolean disabled)

Sets zsl disabled or not. If disabled is true, zero-shutter lag should be disabled. Otherwise, zero-shutter lag should not be disabled. However, enabling zero-shutter lag needs other conditions e.g. flash mode OFF, so setting to false doesn't guarantee zero-shutter lag to be always ON.

public java.lang.Object setPostviewSupported(boolean postviewSupported)

Sets if the postview is supported or not.

public java.lang.Object setCaptureProcessProgressSupported(boolean supported)

Sets if the capture process progress is supported.