Compose Camera LogoCompose Camera
APICore ModuleData Classes

CaptureConfig

Documentation for CaptureConfig data class.

CaptureConfig

Encapsulates the configuration options for a specific image capture request.

data class CaptureConfig(
    val flashMode: FlashMode,
    val resolution: Resolution,
    val outputFormat: ImageFormat,
    val extras: Map<String, Any>
)

Properties

PropertyTypeDescription
flashModeFlashModeThe flash mode to use for this specific capture.
resolutionResolutionThe target resolution for the captured image.
outputFormatImageFormatThe file format (JPEG, PNG) for the output.
extrasMap<String, Any>Additional platform-specific options or parameters.

On this page