writeChunk method

Future writeChunk(
  1. Uint8List data
)

Push audio data (PCM 16bit data) to player buffer as Uint8List to play audio. Chunks will be queued/scheduled to play sequentially

Implementation

Future<dynamic> writeChunk(Uint8List data) => _methodChannel
    .invokeMethod("writeChunk", <String, dynamic>{"data": data});