MethodChannelAudioPlayer class
- Inheritance
-
- Object
- AudioPlayerPlatform
- MethodChannelAudioPlayer
Constructors
Properties
Methods
-
current(
int textureId) → ValueStream< AudioDataSource?> ? -
override
-
currentPosition(
int textureId) → ValueStream< Duration> ? -
override
-
dispose(
int textureId) → Future< void> -
override
-
init(
) → Future< int> -
初始化
override
-
isBuffering(
int textureId) → ValueStream< bool> ? -
override
-
isPlaying(
int textureId) → ValueStream< bool> ? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onReadyToPlay(
int textureId) → Stream< AudioDataSource?> ? -
override
-
open(
AudioSource dataSource, int textureId) → Future< void> -
override
-
pause(
int textureId) → Future< void> -
override
-
play(
int textureId) → Future< void> -
播放
override
-
playerState(
int textureId) → Stream< AudioPlayerState> ? -
override
-
playlistFinished(
int textureId) → ValueStream< bool> ? -
override
-
playSpeed(
int textureId) → ValueStream< double> ? -
override
-
seek(
Duration to, int textureId) → Future< void> -
override
-
setPlaySpeed(
double playSpeed, int textureId) → Future< void> -
Change the current play speed (rate) of the MediaPlayer
override
-
stop(
int textureId) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
volume(
int textureId) → ValueStream< double> ? -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ MethodChannelAudioPlayer
-
getter/setter pair
Static Methods
-
registerWith(
) → void