当前位置:网站首页>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();
边栏推荐
- Required plug-ins for idea
- Compile u-boot source code for stm32p157 development board
- 万卷书 - 书单整理 [01]
- 9: Chapter 3: e-commerce engineering analysis: 4: [general module]; (to be written...)
- List becomes vector list becomes vector list vector
- Mysql8 NDB cluster installation and deployment
- 商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求
- [JVM] class loading related interview questions - class loading process and parental delegation model
- parker比例溢流阀RS10R35S4SN1JW
- 数据库系统概论习题册
猜你喜欢

【C语言】详解线程 — 线程分离函数 pthread_detach

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

Multi terminal collaboration of Huawei accounts to create a better internet life

List announced - outstanding intellectual property service team in China in 2021

Raft introduction

Etcd tutorial - Chapter 8 compact, watch, and lease APIs for etcd

Etcd教程 — 第八章 Etcd之Compact、Watch和Lease API

Redis data structure analysis

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

平面相交与平面方程
随机推荐
将 EMQX Cloud 数据通过公网桥接到 AWS IoT
Observation cloud reached in-depth cooperation with tdengine to optimize enterprise cloud experience
删除有序数组中的重复项 II[双指针--多情况统一]
differential analysis between different groups nichenet for silicosis成功运行!
Cesium-1.72 learning (China national boundary)
Etcd教程 — 第八章 Etcd之Compact、Watch和Lease API
Implementation of aut, a self-developed transport layer protocol for sound network -- dev for dev column
If your MES is not upgraded, it will be eliminated
Data security compliance has brought new problems to the risk control team
Etcd tutorial - Chapter 9 etcd implementation of distributed locks
Undistorted resize using pil
面试突击60:什么情况会导致 MySQL 索引失效?
泰山OFFICE技术讲座:同一行不同字号的字如何对齐绘制
美国穆格moog伺服阀D661-4577C
商单视频播放超2000万!农院改造为何屡被催更?
simpleITK读取nii遇到ITK only supports orthonormal direction cosines的错误
Alibaba cloud disk sharing compressed package
STL tutorial 7-set, pair pair pair group and functor
Supplementary
“推广+搞笑剧情”,如何碰撞出爆款的火花?