Version 6.0
For the release notes, please check the NIMMSTA B2B Portal.
Upgrade to Kotlin 1.6
We upgraded to Kotlin 1.6.10.
Deprecated usage of currentDevice.
We deprecated the usage of serviceConnection.currentDevice
in 4.0 and urge you to update now as we will remove it in 7.0.
Please use serviceConnection.hasActiveConnections
and on each device the isConnected
and isConnecting
properties instead.
Device instances are kept constant now.
Until 5.0, we recreated the NIMMSTADevice instances on each new connection and only kept them for reconnect. Now, from 6.0 onward, we keep instances constant. This means also all settings are kept and also layout is kept.
Deprecated closeConnection in favor of disconnect and reconnect
We added the function device.disconnect()
and device.reconnect()
and deprecated
device.closeConnection()
. Disconnect is the same as device.closeConnection(false)
and
device.reconnect()
equals device.closeConnection(true)
.
Both functions disconnect the device and only device.reconnect()
will
try to reconnect it until reconnectTimeout is reached.
Statusbar now supports custom text
The <statusbar></statusbar>
now supports custom text in the middle. Just add it as value.
Add multi device support.
Please see Multi Device Documentation for further documentation.