The Android Developer Challenge is back! Submit your idea before December 2.

CaptureMode

class CaptureMode
kotlin.Any
   ↳ kotlin.Enum<androidx.camera.view.CameraView.CaptureMode>
   ↳ androidx.camera.view.CameraView.CaptureMode

The capture mode used by CameraView.

This enum can be used to determine which capture mode will be enabled for .

Summary

Enum values

A mode where image capture is enabled.

A mode where both image capture and video capture are simultaneously enabled.

A mode where video capture is enabled.

Enum values

IMAGE

enum val IMAGE : CameraView.CaptureMode

A mode where image capture is enabled.

MIXED

enum val MIXED : CameraView.CaptureMode

A mode where both image capture and video capture are simultaneously enabled. Note that this mode may not be available on every device.

VIDEO

enum val VIDEO : CameraView.CaptureMode

A mode where video capture is enabled.