当前位置:网站首页>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();
边栏推荐
- 美国穆格moog伺服阀D661-4577C
- 5G业务正式商用,属于广电的机会在哪?
- 力士乐液控单向阀Z2S10-1-3X/
- unity粒子_异常显示处理
- Dart: string replace related methods
- leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】
- The meaning of linetypes enumeration values (line_4, line_8, line_aa) in opencv
- Redis elimination strategy
- Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)
- [demo] write file circularly
猜你喜欢

k线图精解与实战应用技巧(见位进场)

将 EMQX Cloud 数据通过公网桥接到 AWS IoT

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

3D图表有效提升数据大屏档次

商单视频播放超2000万!农院改造为何屡被催更?

巩固入门-C#基础变量和常量

Implementation of aut, a self-developed transport layer protocol for sound network -- dev for dev column

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

parker比例溢流阀RS10R35S4SN1JW

More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?
随机推荐
geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
每日刷题记录 (九)
Supplementary
addmodule_ allmerge_ ams_ im
万卷书 - 书单整理 [01]
IO stream_ recursion
AcWing 第 57 场周赛
Research on helmet wearing detection algorithm
A scheduled task deletes data at a specified time
SSH tool pyqt
登录框Tricks
flutter 音乐 录音 播放 audioplayers
Parler du télétravail
Several cross end development artifacts
Cesium-1.72 learning (model attitude control)
Redis data structure analysis
Construction schedule of intelligent management and control platform in Shanxi Chemical Industry Park
The meaning of linetypes enumeration values (line_4, line_8, line_aa) in opencv
Tutoriel etcd - chapitre 8 API compacte, Watch et lease pour etcd
平面相交与平面方程