v3.0.0
- All static methods are changed to instance methods.
Now, to call public APIs, it is required to get the shared instance viaVIForegroundService.getInstance()
API - Add the ability to set a button to the foreground service notification and handle its click.
To handle button click event, it is required to subscribe toVIForegroundServiceButtonPressed
event viaVIForegroundService.on
API.