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.
我想将我的活动和声音池设置为我在主屏幕上时可以调整的音频流(我认为这是主流?)。
这是什么流?它叫什么名字?
更新:
目前我正在使用AudioManager.STREAM_MUSIC,但是当我将手机的音频级别设置为 0 然后打开我的应用程序时,音频级别又回到了 100,这是我不想要的。
AudioManager.STREAM_MUSIC
如果您的意思是当您在主屏幕上按音量键时会调整哪个音量,那么它很可能是铃声音量(即STREAM_RING)。