awesome-cordova-plugins/docs/plugins/music-controls/README.md

28 lines
825 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/music-controls/index.ts#L28">
Improve this doc
</a>
# Music Controls
```
$ ionic cordova plugin add cordova-plugin-music-controls2
$ npm install @ionic-native/plugins/music-controls
```
## [Usage Documentation](https://ionicframework.com/docs/native/music-controls/)
Plugin Repo: [https://github.com/ghenry22/cordova-plugin-music-controls2](https://github.com/ghenry22/cordova-plugin-music-controls2)
Music controls for Cordova applications.
Display a 'media' notification with play/pause, previous, next buttons, allowing the user to control the play.
Handle also headset event (plug, unplug, headset button).
## Supported platforms
- Android
- iOS
- Windows
2021-09-29 20:38:45 +08:00