From d482dc835273f08d1712022f8b35f848330b34e2 Mon Sep 17 00:00:00 2001 From: Lance McCarthy Date: Tue, 14 Aug 2018 13:01:17 -0400 Subject: [PATCH] Update Scenario1_BasicFunctionality.xaml.cs --- Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs b/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs index 9f78c52980..b402156b49 100644 --- a/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs +++ b/Samples/BarcodeScanner/cs/Scenario1_BasicFunctionality.xaml.cs @@ -93,6 +93,9 @@ private async void ScenarioStartScanButton_Click(object sender, RoutedEventArgs // Note: If the scanner is not enabled (i.e. EnableAsync not called), attaching the event handler will not be any useful because the API will not fire the event // if the claimedScanner has not beed Enabled await claimedScanner.EnableAsync(); + + // Begin scanning + await claimedScanner.StartSoftwareTriggerAsync(); rootPage.NotifyUser("Ready to scan. Device ID: " + claimedScanner.DeviceId, NotifyType.StatusMessage); ScenarioEndScanButton.IsEnabled = true;