startPlayer method

  1. @override
Future<int> startPlayer(
  1. TauPlayerCallback callback, {
  2. Codec? codec,
  3. Uint8List? fromDataBuffer,
  4. String? fromURI,
  5. int? numChannels,
  6. int? sampleRate,
})
override

Implementation

@override
Future<int> startPlayer(TauPlayerCallback callback,  {Codec? codec, Uint8List? fromDataBuffer, String?  fromURI, int? numChannels, int? sampleRate})
{
   return  invokeMethod( callback, 'startPlayer', {'codec': codec!.index, 'fromDataBuffer': fromDataBuffer, 'fromURI': fromURI, 'numChannels': numChannels, 'sampleRate': sampleRate},) ;
}