在 iOS 和 Android 中有什么方法可以检测我的应用程序是否被镜像(通过 Miracast/AirPlay/Samsung Smart View)和/或禁用镜像?
I ended up using DisplayManager.getDisplays() to get the list of displays, and check if the length is >1. If so, screen mirroring is detected.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.