RuntimeInfo

data class RuntimeInfo(val upTimeInSeconds: Int, val realTimeInSeconds: Int, val lastCommunicationTimestamp: Long, val lastCommunicationStatus: GatewayDeviceInfo.RuntimeInfo.CommunicationStatus?, val inRangeSensors: Int, val boundSensors: Int, val lastHeartbeatTimestamp: Long, val lastHeartbeatStatus: GatewayDeviceInfo.RuntimeInfo.HeartbeatStatus?)

This data class holds information about the gateway device's runtime state.

Constructors

Link copied to clipboard
constructor(upTimeInSeconds: Int, realTimeInSeconds: Int, lastCommunicationTimestamp: Long, lastCommunicationStatus: GatewayDeviceInfo.RuntimeInfo.CommunicationStatus?, inRangeSensors: Int, boundSensors: Int, lastHeartbeatTimestamp: Long, lastHeartbeatStatus: GatewayDeviceInfo.RuntimeInfo.HeartbeatStatus?)

Properties

Link copied to clipboard

The number of sensors bound to the gateway.

Link copied to clipboard

The number of sensors in range of the gateway.

Link copied to clipboard

The status of the last communication with the gateway (optional).

Link copied to clipboard

The timestamp of the last communication with the gateway.

Link copied to clipboard

The status of the last heartbeat sent by the gateway (optional).

Link copied to clipboard

The timestamp of the last heartbeat sent by the gateway.

Link copied to clipboard

The real time since boot in seconds.

Link copied to clipboard

The uptime of the gateway device in seconds.