start method

Future<void> start(
  1. RecordConfig config, {
  2. required String path,
})
inherited

Starts new recording session.

path: The output path file. Required on all IO platforms. On web: This parameter is ignored.

Output path can be retrieves when stop method is called.

Implementation

Future<void> start(RecordConfig config, {required String path}) async {
  await _safeCall(
    () => _platform.start(_recorderId, config, path: path),
  );

  _startAmplitudeTimer();
}