- From
v2.x.x
tov3.x.x
Meteor#setCallback
is nowMeteor#addCallback
.Meteor#unsetCallback
is nowMeteor#removeCallback
orMeteor#removeCallbacks
.- You now have to establish the connection to the server manually. Before, this was done automatically in the
Meteor
constructor. To update your code, callMeteor#connect
somewhere after calling theMeteor
constructor. It is recommended to place the call after registering the callback viaMeteor#addCallback
. - You now have to unregister all callbacks manually by calling either
Meteor#removeCallback
orMeteor#removeCallbacks
. Before, this was done automatically when disconnecting. It is recommended to remove the callback(s) just after callingMeteor#disconnect
, whenever you do that. - Exceptions triggered while connecting and disconnecting are now correctly delivered in
MeteorCallback#onException
.
- From
v1.x.x
tov2.x.x
- The minimum API level is now
9
(Android 2.3) instead of8
(Android 2.2). MeteorCallback.onDisconnect(int code, String reason)
is now justMeteorCallback.onDisconnect()
without the arguments.
- The minimum API level is now