Stops an ongoing audio recording started with the Start recording audio flow function.
The recorded audio file is stored in a temporary directory with an autogenerated unique identifier for its filename.
If you need to save the audio file in a persistent way, use the Move file flow function to move it to the user files directory.
No input arguments.
Number of outputs: 2
Label | Key | Type | Description |
Audio file |
| Object | Object representing the captured audio file. |
|
| String | Absolute local filesystem path representing the file location on the device, including the filename and extension. On web, this is created via the [`createObjectURL`](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) method. |
|
| String | MIME type of the file, if it could be determined. |
|
| String | Name of the file in the local filesystem, if applicable. Note that the filename and extension are included in the **Local path** property already. |
|
| Number | Size of the file, in bytes. |
|
| String | Creation datetime of the file, if it can be determined. |
|
| String | Datetime when the file was last modified, if it can be determined. |
No events.
Label | Code | Description |
No ongoing recording |
| Thrown when there's no ongoing audio recording to stop. |
Unknown error |
| Thrown if an unknown error occurred while recording audio. |