We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if (action.equals(MusicConstants.MUSIC_INTENT_ACTION_CLICK_PAUSE)) { MusicPlayerManager.getInstance().playOrPause(); ToastManager.mToastshow(context, "点击了暂停"); // MusicPlayerManager.getInstance().getPlayerState(); //前台进程-关闭前台进程 } else if (action.equals(MusicConstants.MUSIC_INTENT_ACTION_CLICK_CLOSE)) { MusicPlayerManager.getInstance().stopServiceForeground(); ToastManager.mToastshow(context, "点击了关闭"); //收藏 }
The text was updated successfully, but these errors were encountered:
你好, 1:“点击暂停后会马上重新播放” 这个我这边复现和排查一下。 2:“点击结束只清除了状态栏而播放器还在继续播放” 设计功能和交互时是只给用户清除通知栏,不影响后台播放逻辑。
Sorry, something went wrong.
好的
请问下示例Demo中会出现点击暂停立马又开始播放的现象吗?
No branches or pull requests
if (action.equals(MusicConstants.MUSIC_INTENT_ACTION_CLICK_PAUSE)) {
MusicPlayerManager.getInstance().playOrPause();
ToastManager.mToastshow(context, "点击了暂停");
// MusicPlayerManager.getInstance().getPlayerState();
//前台进程-关闭前台进程
} else if (action.equals(MusicConstants.MUSIC_INTENT_ACTION_CLICK_CLOSE)) {
MusicPlayerManager.getInstance().stopServiceForeground();
ToastManager.mToastshow(context, "点击了关闭");
//收藏
}
The text was updated successfully, but these errors were encountered: