Package com.inmobi.ads.banner

## Object InMobiBannerAudioManager

- All Implemented Interfaces:

      public class InMobiBannerAudioManager

  A public class to listen to Audio changes on InMobiBanner object by passing the Parent view of InMobiBanner i.e with Mediation.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final static InMobiBannerAudioManager` | `INSTANCE` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `final static <T extends ViewGroup> Unit` | `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.
    `final static Unit` | `setAudioEnabled(Boolean isEnabled)` | Sets if the Audio is enabled in InMobiBanner.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### setAudioListener

           final static <T extends ViewGroup> Unit 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.

      Parameters:
        `t` - Parent view of InMobiBanner instance
        `audioListener` - InMobi AudioListener instance

    - #### setAudioEnabled

           final static Unit setAudioEnabled(Boolean isEnabled)

      Sets if the Audio is enabled in InMobiBanner. If set to false InMobi stops serving audio ads in Banners in current session.