ICallStopRecording Method
Stops current recording
script should use this method only when executed in
Active mode.
Stop recording does not generate exceptions. It just ask implementation to stop current recording if any.
User code must use
LocalRecordingState and wait until recording content will be fully available.
Namespace: CallFlowAssembly: 3CX.CallFlow (in 3CX.CallFlow.dll) Version: 20.0.1
void StopRecording(
bool cancel
)
Parameters
- cancel Boolean
- specified what final state should be reported. true - CANCEL, false - STOP.
If StopRecording is called with cancel = false - file will be left on the disk. It may be (and in most cases is) not proper action because two resons:
1. It ususally contain private information
2. The files which are left on disk will require additional management
It is hightly recomented to use LocalRecordingStream and always call this method with cancel==true.
It will allow user to take control over recorded content and avoid leaving of the undesired content on the disk.