StopRecordingAsync(OnStoppedRecordingVideoCallback)
Asynchronously stops recording a video from the web camera to the file system.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Windows.WebCam
- Assembly: UnityEngine.CoreModule
public void StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback)
Parameters
Invoked as soon as video recording has finished.
Remarks
Call this method only after the callback passed to VideoCapture.StartRecordingAsync reports a successful result. If the instance isn't recording, the operation results in an error and passes an unsuccessful result to the callback.