Skip to content

Breaking changes from 1.0.0 BETA7 to BETA8 release

Antonis Tsakiridis edited this page Jan 29, 2018 · 2 revisions

Sometimes we discover a big issue in the API that needs to fixed. Since we 're still not GA, let's keep for each BETA release a list of breaking changes, so that SDK users can check in order to fix incompatibilities when they migrate to new API. These can then be part of release notes for the release. Here goes:

  • boolean RCDevice.updateParams(HashMap<String, Object> params) changed to void reconfigure(HashMap<String, Object> params) throws RCException so that proper validations are introduced inside SDK and App is notified cleanly; now App doesn't need to call RCDevice parameters validation itself. Also naming updated for clarity
  • RCDeviceListener.onStartListening() got removed as it was unclear of what it's meaning was. App can be notified through onInitialized() for initialization status and from onReconfigure() for reconfigure status
  • RCDeviceListener.onStopListening() got removed for the same reason.

You can check more on those changes' rationale here and also there's updated Javadoc on the listeners' definition.