protected override void OnCurrentPageChanged() { base.OnCurrentPageChanged(); if (CurrentPage is ScannerPage) { settingsPage.UpdateSettings(); scannerPage.ResumeScanning(); SettingsArchiver.ArchiveSettings(settings); } else { scannerPage.PauseScanning(); } }
public void PauseScanning() => scannerPage.PauseScanning();