文档

Unity Engine

Unity Engine

StopRecordingAsync(OnStoppedRecordingVideoCallback)

Asynchronously stops recording a video from the web camera to the file system.
阅读时间1 分钟最后更新于 1 个月前

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.