void ToggleCapturer() { if (Capturer == null) { return; } if (Capturer.Capturing) { Capturer.PausePeriod(); } else { Capturer.ResumePeriod(); } }