Class InMobiBannerAudioManager


  • public final class InMobiBannerAudioManager
    extends java.lang.Object
    A public class to listen to Audio Status changes on InMobiBanner object by passing the Parent view of InMobiBanner i.e with Mediation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends android.view.ViewGroup>
      void
      setAudioListener​(T t, AudioListener audioListener)
      Use this function for attaching the AudioListener to InMobiBanner instance by sending the Parent view, i.e the Mediation Banner view.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InMobiBannerAudioManager

        public InMobiBannerAudioManager()
    • Method Detail

      • setAudioListener

        public static <T extends android.view.ViewGroup> void setAudioListener​(T t,
                                                                               AudioListener audioListener)
        Use this function for attaching the AudioListener to InMobiBanner instance by sending the Parent view, i.e the Mediation Banner view. You should receive the AudioStatus callbacks when InMobiBanner is loaded with Audio Ad.
        Type Parameters:
        T - Mediation Ad ViewGroup ClassName
        Parameters:
        t - Parent view of InMobiBanner instance
        audioListener - InMobi AudioListener instance