Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get the record filepath on recording end #72

Open
xEyad opened this issue Jan 16, 2021 · 2 comments
Open

how to get the record filepath on recording end #72

xEyad opened this issue Jan 16, 2021 · 2 comments

Comments

@xEyad
Copy link

xEyad commented Jan 16, 2021

hello,
i can't read chineese, so please reply in english. thanks in advance.

@yxwandroid
Copy link
Owner

OK I will translate it into English and publish it

@yxwandroid
Copy link
Owner

yxwandroid commented Jan 18, 2021

/// 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants