Get Spotify Stream Volume | Android (Kotlin)

Reply

Get Spotify Stream Volume | Android (Kotlin)

MillerZ51
Casual Listener

Plan

Premium

Country

 

Device

Galaxy A71

Operating System

Android 10

 

My Question or Issue

 

I'm trying to get the volume value of the Spotify Music Stream.
I am able to get it throw STREAM_MUSIC when Spotify is playing music from the Android device or while the Android device is connected to a bluetooth speaker.

But when I'm streaming from the Android device to my Spotify App on the Smart TV/TV Streamer, Android is creating a new volume stream called: "Spotify" (as in the picture)
How can I get this value?

 

Please help me understand how can I get the volume of this stream..
Thanks!

 

J4azn.png
0 Replies
SUGGESTED POSTS