You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "lodgkk"<notifications@github.com>;
发送时间: 2019年8月27日(星期二) 下午3:51
收件人: "Yuye584312311/iMusic"<iMusic@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: [Yuye584312311/iMusic] 音乐播放器的初始化可以放到application里面吗 (#8)
如果不行,多个页面都需要播放是不是都要初始化和反初始化一次呢,设置的参数是不是都要重新设置一次,比如说:
//应用播放器配置
.setMusicPlayerConfig(config)
//通知栏交互,默认开启
.setNotificationEnable(true)
//常驻进程开关,默认开启
.setLockForeground(true)
//设置点击通知栏跳转的播放器界面,需开启常驻进程开关
.setPlayerActivityName(MusicPlayerActivity.class.getCanonicalName())
//设置锁屏界面,如果禁用,不需要设置或者设置为null
.setLockActivityName(MusicLockActivity.class.getCanonicalName())
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
如果不行,多个页面都需要播放是不是都要初始化和反初始化一次呢,设置的参数是不是都要重新设置一次,比如说:
//应用播放器配置
.setMusicPlayerConfig(config)
//通知栏交互,默认开启
.setNotificationEnable(true)
//常驻进程开关,默认开启
.setLockForeground(true)
//设置点击通知栏跳转的播放器界面,需开启常驻进程开关
.setPlayerActivityName(MusicPlayerActivity.class.getCanonicalName())
//设置锁屏界面,如果禁用,不需要设置或者设置为null
.setLockActivityName(MusicLockActivity.class.getCanonicalName())
The text was updated successfully, but these errors were encountered: