Checking whether the ringer and notification volumes are linked? (android)

134 views Asked by At

So I am trying to write an android app to control audio volumes -music, notifcations, media, etc. I wanted to detect whether or not the ringer and notification volumes were linked. The reason for this is so that the two seek bars could be moved together if they are linked. I am writing the app for android 4.1 as an FYI. I could not find any APIs that could help with that. Thanks everyone in advance.

1

There are 1 answers

3
Toon Borgers On

AFAIK, you can't do this. What you can do is get the volumes through the AudioManager, but that will only get you the values, not whether they are linked