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