DisplayMirrorManagerImpl

Display frame reassembly state machine.

Chunks of one frame arrive contiguously and in offset order (FromRadio is a reliable ordered stream), so a chunk with a new frame_id or offset == 0 starts a new frame and an out-of-sequence chunk drops the partial frame. Calls are serialized by the single receive-loop collector in MeshServiceOrchestrator; this singleton's state outlives a session, so reset must be called when one ends.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val frame: StateFlow<MirrorFrame?>
Link copied to clipboard
open override val palette: StateFlow<MirrorPalette?>

Functions

Link copied to clipboard
open override fun handleIncomingFrame(chunk: DisplayFrame)
Link copied to clipboard
open override fun handleIncomingPalette(chunk: DisplayPalette)
Link copied to clipboard
open override fun reset()