ChunksEmitter

interface ChunksEmitter

The API of the source of diagnostics chunks.

The implementation emits chunks, that can be sent to nRF Cloud using ObservabilityManager.

Inheritors

Types

Link copied to clipboard
sealed class State

Represents the state of emitter.

Properties

Link copied to clipboard
abstract val chunks: Flow<ByteArray>

A flow of streamed data (chunks).

Link copied to clipboard
abstract val state: StateFlow<ChunksEmitter.State>

The current state of the source.