Android Independent Volume Control

后端 未结 1 1321
攒了一身酷
攒了一身酷 2021-01-23 05:59

As of now, the volume can be set per Stream type. I am just wondering if there is a way to control the volume per application. For example, for this specific game application I

1条回答
  •  攒了一身酷
    2021-01-23 06:12

    This is not supported by the OS.

    You are welcome to try to fake it by remembering the current volume level, changing it, then restoring the original volume level. However, it will be impossible to cover all the cases where the volume level needs to be reset (e.g., your app crashes).

    0 讨论(0)
提交回复
热议问题