当前位置:网站首页>Shutter music recording playing audioplayers
Shutter music recording playing audioplayers
2022-06-30 17:14:00 【Small safflower~】
Pay attention to the scene :
AudioPlayer audioPlayer = AudioPlayer();
Be careful : It used to be audioPlayer.play(" Here is the path ");
Now? 1.0.0 Start
audioPlayer.play(" Here are resources Not a string "),
It's over await audioPlayer?.play(UrlSource(" Here is the path : for example xxxx.mp3"));
Playback status monitoring audioPlayer?.onPlayerStateChanged.listen((PlayerState statue) {
.....
});
Play position monitoring : audioPlayer.onPositionChanged.listen((event) { });
The playback is finished : playerCompletion = audioPlayer?.onPlayerComplete.listen((event) {
});
Stop playing : audioPlayer.stop();
Pause play : audioPlayer.pause();
Resume playback :audioPlayer.resume();
The destruction :audioPlayer.dispose();
边栏推荐
- differential analysis between different groups nichenet for silicosis成功运行!
- Internet R & D efficiency practice qunar core field Devops landing practice
- [demo] write file circularly
- Nouvelle version de shangdingyun | la fonction favorite est en ligne pour répondre aux besoins d'utilisation personnelle
- 商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求
- 列表变成向量 列表变向量 list vector
- The 25th anniversary of Hong Kong's return to China the Hong Kong Palace Museum officially opened as a new cultural landmark
- redis淘汰策略
- 补充材料 supplementary
- Alibaba cloud disk sharing compressed package
猜你喜欢
[wechat applet] basic use of common components (view/scroll-view/wiper, text/rich-text, button/image)
flutter自定义组件
More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?
nodejs学习笔记二
利用PIL进行不失真的resize
Data mining knowledge points sorting (final review version)
《网络是怎么样连接的》读书笔记 - 汇总篇
24: Chapter 3: develop pass service: 7: user defined exceptions (to represent errors in the program); Create graceexceptionhandler to handle exceptions globally and uniformly (build JSON data of corre
ssh工具 pyqt
Restartprocessifvisible process
随机推荐
Redis elimination strategy
CGR 21 (D,E,F)
9: Chapter 3: e-commerce engineering analysis: 4: [general module]; (to be written...)
In order to make remote work unaffected, I wrote an internal chat room | community essay
More dragon lizard self-developed features! Production available Anolis OS 8.6 officially released
【OpenCV 例程200篇】215. 基于多段线绘制近似椭圆
每日刷题记录 (九)
dart:字符串replace相关的方法
NielsenIQ迎来零售实验室负责人Dawn E. Norvell,将加速扩张全球零售战略
Cmakelists Basics
Multi terminal collaboration of Huawei accounts to create a better internet life
理解现货白银走势的关键
A scheduled task deletes data at a specified time
On July 2, I invited you to TD Hero online conference
3D图表有效提升数据大屏档次
期未课程设计:基于SSM的产品销售管理系统
将 EMQX Cloud 数据通过公网桥接到 AWS IoT
Differential analysis between different groups nichenet for silicosis runs successfully!
浅析搭建高速公路视频监控平台的建设方案及必要性
nodejs学习笔记二