setSourceBytes method

  1. @override
Future<void> setSourceBytes(
  1. String playerId,
  2. Uint8List bytes
)
override

Configures the play to read the audio from a byte array.

Implementation

@override
Future<void> setSourceBytes(String playerId, Uint8List bytes) {
  return _call(
    'setSourceBytes',
    playerId,
    <String, dynamic>{
      'bytes': bytes,
    },
  );
}