How to catch event when click pause/play button on MediaController

♀尐吖头ヾ 提交于 2019-12-10 17:37:23

问题


How to catch event when click pause/play button on MediaController.

i try onKey,onTouch - and then i click on pause/play button on MediaController did nothing happened.


回答1:


A bit of a late answer, but I posted a solution to an identical question overhere, in case you're still looking (or others that perhaps bump into this...)

//Edit: ups, didn't notice someone already posted a link as comment...



来源:https://stackoverflow.com/questions/7868191/how-to-catch-event-when-click-pause-play-button-on-mediacontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!