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