ImageProxyBundle

interface ImageProxyBundle
androidx.camera.core.ImageProxyBundle

A set of ImageProxy which are mapped an identifier.

Summary

Public methods

abstract MutableList<Int!>!

Returns the list of identifiers for the capture that produced the data in this bundle.

abstract ListenableFuture<ImageProxy!>!
getImageProxy(captureId: Int)

Get a ListenableFuture for a ImageProxy.

Public methods

getCaptureIds

abstract fun getCaptureIds(): MutableList<Int!>!

Returns the list of identifiers for the capture that produced the data in this bundle.

getImageProxy

abstract fun getImageProxy(captureId: Int): ListenableFuture<ImageProxy!>!

Get a ListenableFuture for a ImageProxy.

The future will be satisfied when the ImageProxy for the given identifier has been generated.

Parameters
captureId Int: The id for the captures that generated the ImageProxy.