当前位置:网站首页>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();
边栏推荐
- [JVM] takes you to learn about the garbage collection mechanism (GC) in the JVM -- including diagrams
- 您工厂的MES再不升级,就要被淘汰啦
- idea必用插件
- MySQL8 NDB Cluster安装部署
- Simpleitk encountered an ITK only supports orthonormal direction cosines error while reading NII
- IO stream_ recursion
- 聊聊远程办公那些事儿 | 社区征文
- "Promotion + funny plot", how to collide with the sparks of popular funds?
- 列表变成向量 列表变向量 list vector
- 补充材料 supplementary
猜你喜欢

Jsr303 and common validator implementations

Consolidate entry-C basic variables and constants

Redis elimination strategy

面试突击60:什么情况会导致 MySQL 索引失效?

商鼎云新版来袭 | 收藏夹功能已上线,满足个人使用需求

Compile - compile for itop4412 development board makefile

博士毕业去县城工作,如何是你,怎么选?
![[untitled] write a student achievement and information management system in C language to realize the operation interface, clear screen display of current operation functions, reading and inputting st](/img/5f/cda69a34e93b3697992d576dbf0fae.jpg)
[untitled] write a student achievement and information management system in C language to realize the operation interface, clear screen display of current operation functions, reading and inputting st

How to connect the Internet Reading Notes - Summary

Multi terminal collaboration of Huawei accounts to create a better internet life
随机推荐
Differential analysis between different groups nichenet for silicosis runs successfully!
The meaning of linetypes enumeration values (line_4, line_8, line_aa) in opencv
js 从原型链到继承
restartProcessIfVisible的流程
Jsr303 and common validator implementations
【Proteus仿真】Arduino UNO利用74LS148扩展中断
删除有序数组中的重复项 II[双指针--多情况统一]
Property or method “approval1“ is not defined on the instance but referenced during render
Dart: string replace related methods
Etcd tutorial - Chapter 9 etcd implementation of distributed locks
Consolidate entry-C basic variables and constants
Servlet运行原理_API详解_请求响应构造进阶之路(Servlet_2)
Hologres shared cluster helps Taobao subscribe to the extreme refined operation
STL tutorial 7-set, pair pair pair group and functor
Nouvelle version de shangdingyun | la fonction favorite est en ligne pour répondre aux besoins d'utilisation personnelle
Sub chain cross technology source level exploration: an overview of xcvm
基于SSM实现毕业设计管理系统
列表变成向量 列表变向量 list vector
HMS core audio editing service 3D audio technology helps create an immersive auditory feast
Substrate 跨链技术源码级探索: XCVM的概览