SoundpoolPlatform class abstract

The interface that implementations of soundpool must implement.

This class creates SoundpoolPlatformInterface instances to do the actual communication with platform specific code.

Inheritance
  • Object
  • PlatformInterface
  • SoundpoolPlatform
Implementers

Constructors

SoundpoolPlatform()

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

dispose(int poolId) Future<void>
init(int streamType, int maxStreams, Map<String, dynamic> plaformOptions) Future<int>
Initializes Soundpool
loadUint8List(int poolId, Uint8List rawSound, int priority) Future<int>
loadUri(int poolId, String uri, int priority) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause(int poolId, int streamId) Future<void>
play(int poolId, int soundId, int repeat, double rate) Future<int>
release(int poolId) Future<void>
resume(int poolId, int streamId) Future<void>
setRate(int poolId, int streamId, double playbackRate) Future<void>
setVolume(int poolId, int? soundId, int? streamId, double? volumeLeft, double? volumeRight) Future<void>
stop(int poolId, int streamId) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance SoundpoolPlatform
getter/setter pair