Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StopRecording()

Stop the current recording.
Read time 1 minuteLast updated 17 days ago

Definition

Warning
Deprecated. ReplayKit will be removed in future version of Unity
public static bool StopRecording()

Returns

Type

Description

boolA boolean value of True if recording stopped successfully or False if an error occurred.

Remarks

Stops the current recording, and makes it available for preview or discard, provided there are no errors. To show the recording, call Preview().
If ReplayKit.APIAvailable is false, this method does nothing and returns false.