Beispiel #1
0
 public void StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback)
 {
     if (this.m_NativePtr == IntPtr.Zero)
     {
         throw new InvalidOperationException("You must create a Video Capture Object before recording video.");
     }
     if (onStoppedRecordingVideoCallback == null)
     {
         throw new ArgumentNullException("onStoppedRecordingVideoCallback");
     }
     this.StopRecordingVideoToDisk_Internal(this.m_NativePtr, onStoppedRecordingVideoCallback);
 }
Beispiel #2
0
 private extern void StopRecordingVideoToDisk_Internal(IntPtr videoCaptureObj, VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback);
Beispiel #3
0
 private static void InvokeOnStoppedRecordingVideoToDiskDelegate(VideoCapture.OnStoppedRecordingVideoCallback callback, long hResult)
 {
     callback(VideoCapture.MakeCaptureResult(hResult));
 }
Beispiel #4
0
 public extern void StopRecordingAsync([NotNull("ArgumentNullException")] VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback);