- 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