abortRecording static method
Ends the ongoing session recording and discards it instead of uploading it.
An upload that has already started cannot be recalled.
@param autoStartOnNextForeground Whether a new recording starts the next time the app returns to
the foreground. Defaults to false, which keeps recording off until startRecording() is called again.
Implementation
static Future<void> abortRecording({bool autoStartOnNextForeground = false}) {
return DevRevSDKPlatform.instance.abortRecording(
autoStartOnNextForeground: autoStartOnNextForeground,
);
}