callbackTable top-level property
Implementation
List<Function> callbackTable =
[
allowInterop( (FlutterSoundRecorderCallback cb, int duration, double dbPeakLevel) { cb.updateRecorderProgress(duration: duration, dbPeakLevel: dbPeakLevel);} ),
allowInterop( (FlutterSoundRecorderCallback cb, {Uint8List? data}) { cb.recordingData(data: data);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success) { cb.startRecorderCompleted(state, success);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success) { cb.pauseRecorderCompleted(state, success);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success) { cb.resumeRecorderCompleted(state, success);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success, String url) { cb.stopRecorderCompleted(state, success, url);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success) { cb.openRecorderCompleted(state, success);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int state, bool success) { cb.closeRecorderCompleted(state, success);} ),
allowInterop( (FlutterSoundRecorderCallback cb, int level, String msg) { cb.log(Level.values[level], msg);} ),
];