当前位置:网站首页>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();
边栏推荐
- 声网自研传输层协议 AUT 的落地实践丨Dev for Dev 专栏
- 聊聊遠程辦公那些事兒 | 社區征文
- 【C语言】详解线程 — 通过 “加锁” 解决并发程序引起的共享内存问题
- k线图精解与实战应用技巧(见位进场)
- Compile u-boot source code for stm32p157 development board
- 9: Chapter 3: e-commerce engineering analysis: 4: [general module]; (to be written...)
- Geo read single cell CSV expression matrix single cell column name change Seurat
- [Demo] 循环写文件
- geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
- List becomes vector list becomes vector list vector
猜你喜欢

Dart: string replace related methods

商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求

The meaning of linetypes enumeration values (line_4, line_8, line_aa) in opencv

leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】

Undistorted resize using pil

Redis elimination strategy

restartProcessIfVisible的流程

Property or method “approval1“ is not defined on the instance but referenced during render

Mysql8 NDB cluster installation and deployment

期未课程设计:基于SSM的产品销售管理系统
随机推荐
IndexSearch
列表变成向量 列表变向量 list vector
Alibaba cloud disk sharing compressed package
differential analysis between different groups nichenet for silicosis成功运行!
Mysql8 NDB cluster installation and deployment
Cesium-1.72 learning (China national boundary)
[Demo] 循环写文件
商单视频播放超2000万!农院改造为何屡被催更?
山西化工园区智能化管控平台建设时间表
数据库系统概论习题册
Cesium-1.72 learning (model attitude control)
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
【OpenCV 例程200篇】215. 基于多段线绘制近似椭圆
restartProcessIfVisible的流程
美国穆格moog伺服阀D661-4577C
Property or method “approval1“ is not defined on the instance but referenced during render
力士乐液控单向阀Z2S10-1-3X/
flutter自定义组件
List becomes vector list becomes vector list vector
Compile - compile for itop4412 development board makefile