ImageCaptureScope


@CameraXDsl
class ImageCaptureScope


Scope class for ImageCapture configuration DSL.

Summary

Public properties

Int

Sets the capture mode for this use case.

Int

Sets the flash mode for this use case.

Executor

Sets the background executor for I/O tasks.

Boolean

Sets whether postview is enabled for this use case.

Int

Sets the JPEG quality for this use case.

Int

Sets the output format for this use case.

ResolutionSelector

Sets the resolution selector for postview images.

ResolutionSelector

Sets the resolution selector for this use case.

ImageCapture.ScreenFlash

Sets the ScreenFlash implementation for this use case.

String

Sets the target name for this use case configuration.

Int

Sets the target rotation for this use case.

Public properties

captureMode

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var captureModeInt

Sets the capture mode for this use case.

See also
setCaptureMode

flashMode

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var flashModeInt

Sets the flash mode for this use case.

See also
setFlashMode

ioExecutor

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var ioExecutorExecutor

Sets the background executor for I/O tasks.

See also
setIoExecutor

isPostviewEnabled

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var isPostviewEnabledBoolean

Sets whether postview is enabled for this use case.

jpegQuality

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var jpegQualityInt

Sets the JPEG quality for this use case.

See also
setJpegQuality

outputFormat

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var outputFormatInt

Sets the output format for this use case.

See also
setOutputFormat

postviewResolutionSelector

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var postviewResolutionSelectorResolutionSelector

Sets the resolution selector for postview images.

resolutionSelector

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var resolutionSelectorResolutionSelector

Sets the resolution selector for this use case.

screenFlash

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var screenFlashImageCapture.ScreenFlash

Sets the ScreenFlash implementation for this use case.

See also
setScreenFlash

targetName

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetNameString

Sets the target name for this use case configuration.

See also
setTargetName

targetRotation

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetRotationInt

Sets the target rotation for this use case.