getditto / DittoAndroidTools

Diagnostic and Debugging Tools for Ditto Android SDK
MIT License
6 stars 1 forks source link

update data model #42

Closed texasRanger09 closed 8 months ago

texasRanger09 commented 8 months ago
 {
_id: , // peer key
secondsInterval: String, // how often does the heartbeat tool take a snapshot and store it here (in seconds)
lastUpdated: String (ISO-8601 UTC), // when this document was written. If this is farther in the past than the interval, this device is "offline"
sdk: String, // Ditto SDK version
presenceSnapshotDirectlyConnectedPeersCount: Int, // from presence graph snapshot
presenceSnapshotDirectlyConnectedPeers: { // from presence graph snapshot
: {
deviceName: String,
sdk: String,
isConnectedToDittoCloud: Bool,
bluetooth: Int,
p2pWifi: Int,
lan: Int,
},
…,
…
},
metaData: {}
}