ChunkManager

constructor(config: ChunksConfig, chunkQueue: ChunkQueue? = null)

Parameters

config

Device configuration which includes Authorization Token and device ID (serial number).

chunkQueue

A queue for storing chunks to be uploaded. If null, a default in-memory queue will be used. Use PersistentChunkQueue for persistent storage using.