callbackTable top-level property
Implementation
List<Function> callbackTable =
[
allowInterop( (TauPlayerCallback cb, int position, int duration) { cb.updateProgress(duration: duration, position: position,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.pauseCallback(state,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.resumeCallback(state,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.skipBackward(state,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.skipForward(state,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.updatePlaybackState(state,);} ),
allowInterop( (TauPlayerCallback cb, int ln) { cb.needSomeFood(ln,);} ),
allowInterop( (TauPlayerCallback cb, int state) { cb.audioPlayerFinished(state,);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success, int duration) { cb.startPlayerCompleted(state, success, duration,);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success) { cb.pausePlayerCompleted(state, success);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success) { cb.resumePlayerCompleted(state, success);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success) { cb.stopPlayerCompleted(state, success);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success) { cb.openPlayerCompleted(state, success);} ),
allowInterop( (TauPlayerCallback cb, int state, bool success) { cb.closePlayerCompleted(state, success);} ),
allowInterop( (TauPlayerCallback cb, int level, String msg) { cb.log(Level.values[level], msg);} ),
];