简体   繁体   English

如何在iOS中检测可能的音频输出?

[英]How to detect possible audio outputs in iOS?

Is it possible to detect audio outputs like airpods, regular headphones or remote speakers connected to the device and get their properties? 是否可以检测连接到设备的airpods,常规耳机或远程扬声器之类的音频输出并获取其属性?

Thanks! 谢谢!

currentRoute 。只有currentRoute可通过公共API使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM