背景音频 - stop

WMPFMusicApi.stop

需 WMPF >= 2.2.0 支持,使用前建议阅读注意事项

停止播放小程序背景音频。如果当前没有正在播放背景音频的小程序,该函数将没有作用。

调用参数

返回参数

示例代码

val musicApi = WMPF.getInstance().getMusicApi()
musicApi.stop()
posted on 2025-02-22 13:32  AtlasLapetos  阅读(2)  评论(0)    收藏  举报