Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法以编程方式将运行我的应用程序的设备设置为静音模式?沉默必须涵盖整个设备,而不仅仅是我的应用程序。
不,因为它是一个物理硬件开关,所以没有软件方法可以使整个设备静音。
没有理由与框架抗争,只要用户愿意,就让用户将设备静音。