# RecorderManager.onStop(function callback)
with Promise style call: Not supported
Mini Program plugin: Support
End of Listening Recording Event
# parameter
# function callback
Callback function for recording end event
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
tempFilePath | string | Temporary path to recording file (Local path) |
duration | number | Total length of recording, in ms |
fileSize | number | Audio file size, in: Byte |