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 best solutions below