startPlayer method
Future<int>
startPlayer(
- TauPlayerCallback callback, {
- Codec? codec,
- Uint8List? fromDataBuffer,
- String? fromURI,
- int? numChannels,
- 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},) ;
}