I've seen many other posts that use Xamarin.Essentials.Screenshot.CaptureAsync(). The problem with that is that it takes the screenshot of the top-most view and not what the user can see.
My question is, is it is possible to take a screenshot of what the user can see and if it is, how?
EDIT :
I haven't been very clear of what I am trying to achieve, so here is it:
I am trying to take a screenshot of the phone default screen(where all the apps are etc.) and also other apps. So for that I use a foreground service. It works and all but the screenshots are still only the view of the app