ImageReaderMode

class ImageReaderMode
kotlin.Any
   ↳ kotlin.Enum<androidx.camera.core.ImageAnalysis.ImageReaderMode>
   ↳ androidx.camera.core.ImageAnalysis.ImageReaderMode

The different ways that the image sent to the analyzer is acquired from the underlying . This corresponds to acquireLatestImage or acquireNextImage in .

Summary

Enum values

Acquires the latest image in the queue, discarding any images older than the latest.

Acquires the next image in the queue.

Enum values

ACQUIRE_LATEST_IMAGE

enum val ACQUIRE_LATEST_IMAGE : ImageAnalysis.ImageReaderMode

Acquires the latest image in the queue, discarding any images older than the latest.

ACQUIRE_NEXT_IMAGE

enum val ACQUIRE_NEXT_IMAGE : ImageAnalysis.ImageReaderMode

Acquires the next image in the queue.