Package-level declarations

Contains public data models used by the manager, such as Chunk and ChunksConfig, and the ChunksEmitter interface decoupling ObservabilityManager from emitter's implementation.

Types

Link copied to clipboard
data class Chunk(val chunkNumber: Int, val data: ByteArray, val deviceId: String, var isUploaded: Boolean)

Represents a chunk of Observability data received from the device using Monitoring & Diagnostics Service.

Link copied to clipboard
data class ChunksConfig(val authorisationToken: String, val url: String, val deviceId: String)

The configuration data obtained from the device using Monitoring & Diagnostics Service.

Link copied to clipboard
interface ChunksEmitter

The API of the source of diagnostics chunks.

Link copied to clipboard
class PersistentChunkQueue(context: Context, deviceId: String) : ChunkQueue

An implementation of ChunkQueue that stores chunks in a persistent database.