# RecorderManager.onStop(function callback)
Listens on the event that recording ends.
# Parameters
# function callback
The callback function for the event that recording ends.
# Parameters
# Object res
| Property | Type | Description |
|---|---|---|
| tempFilePath | string | The temporary path to recording files |
| duration | number | The duration of recording (in sec) |
| fileSize | number | The size of a recording file (in bytes) |