openSession method

  1. @override
void openSession(
  1. FlutterSoundRecorderCallback aSession
)
inherited

Implementation

@override
void openSession(FlutterSoundRecorderCallback aSession)
{
  assert(findSession(aSession) == -1);

  for (var i = 0; i < _slots.length; ++i)
  {
    if (_slots[i] == null)
    {
      _slots[i] = aSession;
      return;
    }
  }
  _slots.add(aSession);
}