getRecordURL method

Future<String?> getRecordURL({
  1. required String path,
})

Get the URI of a recorded file.

This is same as the result of stopRecorder(). Be careful : on Flutter Web, this verb cannot be used before stoping the recorder. This verb is seldom used. Most of the time, the App will use the result of stopRecorder().

Implementation

Future<String?> getRecordURL({required String path}) async {
  await _waitOpen();
  if (!_isInited) {
    throw Exception('Recorder is not open');
  }
  var url = await TauRecorderPlatform.instance.getRecordURL(this, path);
  return url;
}