How can i control the volume level of the ad? (JAVA)

11 views
Skip to first unread message

Shahar Ice

unread,
Jun 23, 2024, 11:47:35 AM (6 days ago) Jun 23
to Interactive Media Ads SDK
Hey, please share a way to control ad volume, I'm looking to reduce it to 80%.
i tried a couple of methods but none seemed to do it, is this the relevant part?
AudioManager audioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);

IMA SDK

unread,
Jun 24, 2024, 7:09:57 AM (5 days ago) Jun 24
to shahari...@gmail.com, ima...@googlegroups.com

Hi,

Thank you for contacting the IMA SDK support team.

For your information, Android is not having separate volume control, this was extends

  • VideoAdPlayer now extends the VolumeProvider interface. Implementing this interface is now required for custom playback.

Refer to this release notes for more information.
Please use the
setStreamVolume method to set the volume index for a particular stream and also note that this method has no effect if the device implements a fixed volume policy as indicated by isVolumeFixed().

Kindly be informed that our support channel can only best assist you with regards to Google IMA SDK implementation and technical issues.

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJRXO:ref" (ADR-00243486)

Thanks,
 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages