TauPlayerWeb class

The web implementation of TauPlatform.

This class implements the package:flutter_sound_player functionality for the web.

Inheritance
  • Object
  • PlatformInterface
  • TauPlayerPlatform
  • TauPlayerWeb

Constructors

TauPlayerWeb()

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

closePlayer(TauPlayerCallback callback) Future<int>
override
closeSession(TauPlayerCallback aSession) → void
inherited
feed(TauPlayerCallback callback, {Uint8List? data}) Future<int>
override
findSession(TauPlayerCallback aSession) int
inherited
getPlayerState(TauPlayerCallback callback) Future<int>
override
getProgress(TauPlayerCallback callback) Future<Map<String, Duration>>
override
getResourcePath(TauPlayerCallback callback) Future<String>
override
getSession(int slotno) → TauPlayerCallback
inherited
getWebSession(TauPlayerCallback callback) TauCorePlayer?
isDecoderSupported(TauPlayerCallback callback, {required Codec codec}) Future<bool>
override
MethodChannelTauPlayer() → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nowPlaying(TauPlayerCallback callback, {Duration? progress, Duration? duration, Map<String, dynamic>? track, bool? canPause, bool? canSkipForward, bool? canSkipBackward, bool? defaultPauseResume}) Future<int>
override
numberOfOpenSessions() int
inherited
openPlayer(TauPlayerCallback callback, {required Level logLevel, AudioFocus? focus, SessionCategory? category, SessionMode? mode, int? audioFlags, AudioDevice? device, bool? withUI}) Future<int>
override
openSession(TauPlayerCallback aSession) → void
inherited
pausePlayer(TauPlayerCallback callback) Future<int>
override
resetPlugin(TauPlayerCallback callback) Future<void>?
override
resumePlayer(TauPlayerCallback callback) Future<int>
override
seekToPlayer(TauPlayerCallback callback, {Duration? duration}) Future<int>
override
setAudioFocus(TauPlayerCallback callback, {AudioFocus? focus, SessionCategory? category, SessionMode? mode, int? audioFlags, AudioDevice? device}) Future<int>
override
setLogLeve(TauPlayerCallback callback, Level loglevel) Future<void>?
setLogLevel(TauPlayerCallback callback, Level loglevel) Future<void>?
inherited
setSpeed(TauPlayerCallback callback, {required double speed}) Future<int>
override
setSubscriptionDuration(TauPlayerCallback callback, {Duration? duration}) Future<int>
override
setUIProgressBar(TauPlayerCallback callback, {Duration? duration, Duration? progress}) Future<int>
override
setVolume(TauPlayerCallback callback, {double? volume}) Future<int>
override
startPlayer(TauPlayerCallback callback, {Codec? codec, Uint8List? fromDataBuffer, String? fromURI, int? numChannels, int? sampleRate}) Future<int>
override
startPlayerFromMic(TauPlayerCallback callback, {int? numChannels, int? sampleRate}) Future<int>
override
startPlayerFromTrack(TauPlayerCallback callback, {Duration? progress, Duration? duration, Map<String, dynamic>? track, bool? canPause, bool? canSkipForward, bool? canSkipBackward, bool? defaultPauseResume, bool? removeUIWhenStopped}) Future<int>
override
stopPlayer(TauPlayerCallback callback) Future<int>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

defaultExtensions List<String>
getter/setter pair

Static Methods

registerWith(Registrar registrar) → void
Registers this class as the default instance of TauPlatform.