This version of Unity is unsupported.

ReplayKit.isPreviewControllerActive

public static bool isPreviewControllerActive;

Description

A boolean that indicates whether ReplayKit is currently displaying a preview controller. (Read Only)