getRecordURL
getRecordURL method
- 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 stopping 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 != Initialized.fullyInitialized) {
throw Exception('Recorder is not open');
}
var url = await FlutterSoundRecorderPlatform.instance.getRecordURL(
this,
path,
);
return url;
}