dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.26k stars 1.76k forks source link

API mediapicker to take photo without user tap on take photo button #22723

Open vovanb opened 5 months ago

vovanb commented 5 months ago

Description

I would like to have API in CapturePhotoAsync that photo should be done automatically without user infraction . I want to be able to set flash and camera type front/back

Public API Changes

Mediapicker without GUI , be able pass camera parameters ( from, back), flash.- CapturePhotoAsync

Intended Use-Case

Use it for automatic photo capture in case of some alert situation

h0lg commented 2 months ago

Your local intelligence agency approves this request πŸ‘¨β€πŸ’ΌπŸ‘