- fix objC warning
- updated example
- Allow Dart 2 SDK
- Fix java lint warnings.
- BREAKING Change: No more separate handlers for communicating the state of the player. Instead we rely on streams to publish state changes and position updates.
- Code formatting and flow improvements. Preparation for testing.
- Feat : merge PR from mindon with mute methods and various improvements
- fixes Future errors with --preview-dart2
- Example : add a slider to demonstrate the seek feature
- merge PR from johanhenselmans to switch iOS to ObjectiveC
- merge PR from oaks to add the seek feature
- support for local files
- update to the current Plugin API
- move to https://github.com/rxlabz/audioplayer
Separated handlers for position, duration, completion and errors
-
setDurationHandler(TimeChangeHandler handler)
-
setPositionHandler(TimeChangeHandler handler)
-
setCompletionHandler(VoidCallback callback)
-
setErrorHandler(ErrorHandler handler)
-
new typedef
typedef void TimeChangeHandler(Duration duration);
typedef void ErrorHandler(String message);
- first POC :
- methods : play, pause, stop
- a globalHandler for position, duration, completion and errors