question

SourabhVerma-2317 avatar image
0 Votes"
SourabhVerma-2317 asked RoyLi-MSFT answered

ClaimedScanner - ShowVideoPreviewAsync() Close event for barcode scanner preview window

Hello, I am using the default scanning preview window in the ClaimedBarcodeScanner class using ShowVideoPreviewAsync



The problem I am facing is if the user closes the preview window, there seems to be no way to know about it. I could not find a close window event for it. This leads to the camera being active even though the preview window is gone which is not a good experience for the user.

windows-uwp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RoyLi-MSFT avatar image
1 Vote"
RoyLi-MSFT answered

Hello,

Welcome to Microsoft Q&A!

I'm sorry to say that currently, there is no such event that could be fired when the preview is closed. This is a good question. Please submit a feature request in the Feedback Hub about this. You could find the Feedback Hub In the Start Menu.


Thank you.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.