I use ExoPlayer
for my alarm clock app and I want it to playback music using alarm volume instead of music volume (which is default). When it starts to playback, volume should be increased gradually from mute to the current alarm volume level.
I can totally get both current and maximum volume levels but I can't find any methods in ExoPlayer
to use them. I found this, but it seems that for ExoPlayer v2.0.4 it doesn't work. Any ideas will be highly appreciated!