closePlayer method

  1. @override
Future<int> closePlayer(
  1. TauPlayerCallback callback
)
override

Implementation

@override
Future<int> closePlayer(TauPlayerCallback callback, ) async
{
        int slotno = findSession(callback);
        int r = _slots[slotno]!.releaseMediaPlayer();
        _slots[slotno] = null;
        return r;
}