FrameDistributor

class FrameDistributor(context: Context, var cameraController: CameraControllerInterface = CameraControllerWrapper(context))

Distribute frames to the many interested consumers

The intention is for this class to facilitate obtaining frames from the system and distributing them out to the rest of the portions of the SDK as well as any external consumers of the SDK as well that might be interested in the frames.

Constructors

Link copied to clipboard
constructor(context: Context, cameraController: CameraControllerInterface = CameraControllerWrapper(context))

Properties

Link copied to clipboard
val frame: StateFlow<Frame?>
Link copied to clipboard

Functions

Link copied to clipboard
fun send(sentFrame: Frame)

Distribute the given frame to the various consumers