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 shared text? #4

Closed
rafaeljustinox opened this issue May 24, 2022 · 4 comments
Closed

How to get shared text? #4

rafaeljustinox opened this issue May 24, 2022 · 4 comments

Comments

@rafaeljustinox
Copy link

I can't find a method like handler.sharedMediaStream to get the text?
There's no example of receiving text/url.

@SethuSenthil
Copy link

Yup, I was wondering the same thing. There seems to be no other method for receiving shared text within the dart source code.

@JoshJuncker
Copy link
Collaborator

The SharedMedia object has a 'content' attribute. That is where a shared url or shared text is. So it is the same method and stream for either text or file/s.

@JoshJuncker
Copy link
Collaborator

@rafaeljustinox Does that answer your question? Am I good to close this?

@rafaeljustinox
Copy link
Author

@JoshJuncker Yep! Thanks

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

3 participants