Once after recording, the video can be discarded with this call. It's always recommended to call discard incase if you don't need the recording.
This returns true if the recorded video is successfully deleted, false when no recording is available or failed to delete.
ReplayKitManager.Discard();
Example
bool Discard(){return ReplayKitManager.Discard();}