How do I set my media player in android studio kotlin to work with alarm volume?
I am trying to get my media player to work with the alarm volume and not media volume. I have tried this, but it is not working, any suggestions? Also, am I am looking to change the sound file at some point, can the solution be used with a variable?
val mediaPlayer1 = MediaPlayer.create(context2, R.raw.geese)...