Is there any way where i can detect screen recording/ capturing/screen sharing is on by other application in my android application?

162 views Asked by At

I want to detect if any other application started screen recording or screen sharing in my android application and restrict it by showing Dialog. I know Secure_Flag is there to restrict the app content visible to capture/sharing/recording but my use case it i want to allow screen capturing i.e screenshot but restrict sharing/recording. Does the MediaProjectManager will help?

MediaProjectManager I tried. but did not go the solution.

0

There are 0 answers