Chunk

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

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

Constructors

Link copied to clipboard
constructor(chunkNumber: Int, data: ByteArray, deviceId: String, isUploaded: Boolean)

Properties

Link copied to clipboard

The number of the chunk, in range from 0-31

Link copied to clipboard

The bytes received.

Link copied to clipboard

The device ID of the device from which the chunk was received.

Link copied to clipboard

A flag indicating whether the chunk has been uploaded to the Memfault Cloud.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int