Package-level declarations

Types

Link copied to clipboard

Class that wraps com.hivemq.client.mqtt.MqttClient in order to initialize MQTT connection and send data

Link copied to clipboard
@Serializable
data class MqttRecordMessage(val value: String, val timestamp: LocalDateTime)

Data class that represents message that should be sent to server with MQTT

Link copied to clipboard
class MqttWorker(context: Context, workerParameters: WorkerParameters) : CoroutineWorker

Class that implements CoroutineWorker in order to define data synchronization using MqttClient

Link copied to clipboard
class MqttWorkManager(context: Context)

Class that is responsible for WorkManager initialization for data synchronization with MqttClient

Link copied to clipboard
data class Topic(val userId: Long, val deviceMac: String, val characteristicName: String)

Data class that represents MQTT topic