openSession method

void openSession(
  1. FlutterSoundRecorderCallback aSession
)
inherited

Implementation

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);
}