ReplayKit is only available on certain iPhone, iPad and iPod Touch devices running iOS 9.0 or later.

Beispiel #1
0
        public static void StartBroadcasting(ReplayKit.BroadcastStatusCallback callback)
        {
            bool enableCamera     = false;
            bool enableMicrophone = false;

            ReplayKit.StartBroadcasting(callback, enableMicrophone, enableCamera);
        }
Beispiel #2
0
        public static bool StartRecording()
        {
            bool enableCamera     = false;
            bool enableMicrophone = false;

            return(ReplayKit.StartRecording(enableMicrophone, enableCamera));
        }
Beispiel #3
0
 public static void StartBroadcasting(ReplayKit.BroadcastStatusCallback callback, bool enableMicrophone)
 {
     ReplayKit.StartBroadcasting(callback, enableMicrophone, false);
 }
Beispiel #4
0
 public static void StartBroadcasting(ReplayKit.BroadcastStatusCallback callback)
 {
     ReplayKit.StartBroadcasting(callback, false, false);
 }
Beispiel #5
0
 public static void StartBroadcasting(ReplayKit.BroadcastStatusCallback callback, [DefaultValue("false")] bool enableMicrophone, [DefaultValue("false")] bool enableCamera)
 {
     ReplayKit.StartBroadcastingImpl(callback, enableMicrophone, enableCamera);
 }
Beispiel #6
0
 public static bool StartRecording()
 {
     return(ReplayKit.StartRecording(false, false));
 }
Beispiel #7
0
 public static bool StartRecording(bool enableMicrophone)
 {
     return(ReplayKit.StartRecording(enableMicrophone, false));
 }
Beispiel #8
0
 public static bool StartRecording([DefaultValue("false")] bool enableMicrophone, [DefaultValue("false")] bool enableCamera)
 {
     return(ReplayKit.StartRecordingImpl(enableMicrophone, enableCamera));
 }
Beispiel #9
0
 public static bool ShowCameraPreviewAt(float posX, float posY)
 {
     return(ReplayKit.ShowCameraPreviewAt(posX, posY, -1f, -1f));
 }