send

fun send(callback: SendChunksCallback)

Attempt to drain all chunks for the given device.

No chunks will be sent and the callback will not be executed if the MemfaultCloud's MemfaultCloud.deinit method has been called.

Parameters

callback

called when there is no more data to send or a request fails.