Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StopRecordingAsync(OnStoppedRecordingVideoCallback)

Asynchronously stops recording a video from the web camera to the file system.
Read time 1 minuteLast updated 2 days ago

Definition

public void StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback)

Parameters

onStoppedRecordingVideoCallback

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.