DataGroup

data class DataGroup<out Item : NetworkRecord>(val sensorId: String, val items: List<Item>, resyncAfter: Long? = null)

Parameters

sensorId

sensorId for all items

items

data from the smart band to send to the server

resyncAfter
  • unix timestamp. If set than server will delete all records after one. By default (if resyncAfter not set) server overwrite records by record index + timestamp.

Constructors

Link copied to clipboard
fun <out Item : NetworkRecord> DataGroup(sensorId: String, items: List<Item>, resyncAfter: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String