AudioChunkPlayer class

A class that handles playback of audio chunks using platform channels.

This class communicates with the native platform to control audio playback operations such as feeding audio chunks, adjusting volume, setting balance, and stopping playback.

Constructors

AudioChunkPlayer()

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

feedChunk(Uint8List chunk) Future<void>
Feeds an audio chunk to the player for playback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBalance(double balance) Future<void>
Sets the balance of the audio player.
setVolume(double volume) Future<void>
Sets the volume of the audio player.
stop() Future<void>
Stops the audio playback.
toString() String
A string representation of this object.
inherited

Operators

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