thomasgalliker / CameraScanner.Maui

Camera preview and barcode scanner for .NET MAUI apps
MIT License
19 stars 3 forks source link

[Enhancement] Auto-timeout if scanner doesn't return a result for a certain period of time #3

Open thomasgalliker opened 2 months ago

thomasgalliker commented 2 months ago

Summary

In order to safe battery, we'd like to pause the scanner if no result is returned for a defined amount of time. This feature must be configurable.

API Changes

New property AutoTimeout which is a TimeSpan value. By default, no auto-timeout is set.

Intended Use Case

Pause the scanner automatically in order to safe battery.