commit | a9f97e82213a8062266a443f99ad0bc18449a038 | [log] [tgz] |
---|---|---|
author | Shax <shaxxx@users.noreply.github.com> | Mon Jan 13 19:02:30 2020 +0100 |
committer | Michael Klimushyn <mklim@google.com> | Mon Jan 13 10:02:30 2020 -0800 |
tree | 0a575266eaedb8549d2261f84fd6298500d382a4 | |
parent | ee5f4242dd61f1958f4338b0d13a8d5fa793980e [diff] |
[android_intent] support for setType() and setDataAndType() (#1983) Added support for [setType](https://developer.android.com/reference/android/content/Intent.html#setType(java.lang.String)) and [setDataAndType](https://developer.android.com/reference/android/content/Intent.html#setDataAndType(android.net.Uri,%20java.lang.String)) parameters. This is needed if IE. you want to send intent to stream video. You would need to set both data (some http Uri) and mime type (ie. 'video/*'). Keep in mind, Intent documentation specifies > To set only the data URI, call setData(). To set only the MIME type, call setType(). If necessary, you can set both explicitly with setDataAndType(). > > Caution: If you want to set both the URI and MIME type, do not call setData() and setType() because they each nullify the value of the other. Always use setDataAndType() to set both URI and MIME type.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.