flutter_plugin_record
flutter_plugin_record copied to clipboard
how to get the record filepath on recording end
hello, i can't read chineese, so please reply in english. thanks in advance.
OK I will translate it into English and publish it
/// Listen to start or end recording recordPlugin.response.listen((data) { if (data.msg == "onStop") { /// When the recording is finished, the address of the recorded file is returned for uploading to the server print("onStop " + data.path); } else if (data.msg == "onStart") { print("onStart --"); } });
https://github.com/yxwandroid/flutter_plugin_record/blob/master/example/lib/record_screen.dart