Java SDK 4.22.0
Features
- Added support for SDK event handlers through the new [
setEventHandler][setEventHandler] API:DATAFILE_UPDATEnotifies when the SDK data file (configuration) is updated with polling or streaming modes.HTTP_REQUESTnotifies when SDK HTTP requests complete successfully or fail.- HTTP request events include the request type, HTTP status or failure details, and request duration.
- Passing
nulltosetEventHandlerclears the handler for the selected event type.
[setEventHandler]: https://docs.kameleoon.com/developer-docs/sdks/web-sdks/java-sdk#seteventhandler