FlutterSoundPlayer class

Annotations
  • @JS('FlutterSoundPlayer')

Constructors

FlutterSoundPlayer()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

feed(Uint8List? data) int
getPlayerState() int
initializeMediaPlayer(int focus, int category, int mode, int? audioFlags, int device, bool? withUI) int
isDecoderSupported(int codec) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nowPlaying(int progress, int duration, Map<String, dynamic>? track, bool? canPause, bool? canSkipForward, bool? canSkipBackward, bool? defaultPauseResume) int
pausePlayer() int
releaseMediaPlayer() int
resumePlayer() int
seekToPlayer(int duration) int
setAudioFocus(int focus, int category, int mode, int? audioFlags, int device) int
setSpeed(double speed) int
setSubscriptionDuration(int duration) int
setUIProgressBar(int duration, int progress) int
setVolume(double? volume) int
startPlayer(int? codec, Uint8List? fromDataBuffer, String? fromURI, int? numChannels, int? sampleRate) int
startPlayerFromTrack(int progress, int duration, Map<String, dynamic> track, bool canPause, bool canSkipForward, bool canSkipBackward, bool defaultPauseResume, bool removeUIWhenStopped) int
stopPlayer() int
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited