Package com.inmobi.ads.listeners
Class AudioAdEventListener
-
- All Implemented Interfaces:
public abstract class AudioAdEventListener extends AdEventListener<InMobiAudio>
-
-
Constructor Summary
Constructors Constructor Description AudioAdEventListener()
-
Method Summary
Modifier and Type Method Description Unit
onAdFetchFailed(InMobiAudio ad, InMobiAdRequestStatus status)
Called to notify that an ad preload has failed. Unit
onAdDisplayed(InMobiAudio ad)
Called to notify that the banner ad has expanded Unit
onAdDisplayFailed(InMobiAudio ad)
Called to indicate that a request to show an ad (by calling InMobiAudio.show failed. Unit
onAdDismissed(InMobiAudio ad)
Called to notify that the User is about to return to the application after closing the ad. Unit
onUserLeftApplication(InMobiAudio ad)
Called to notify that the user is about to leave the application as a result of interacting with the ad. Unit
onRewardsUnlocked(InMobiAudio ad, Map<Object, Object> rewards)
Called to notify that a reward was unlocked. Unit
onAudioStatusChanged(InMobiAudio ad, AudioStatus audioStatus)
Called to notify that the Audio status has changed -
Methods inherited from class com.inmobi.ads.listeners.AdEventListener
onAdClicked, onAdFetchSuccessful, onAdImpression, onAdLoadFailed, onAdLoadSucceeded, onRequestPayloadCreated, onRequestPayloadCreationFailed
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAdFetchFailed
Unit onAdFetchFailed(InMobiAudio ad, InMobiAdRequestStatus status)
Called to notify that an ad preload has failed.
- Parameters:
ad
- Represents the InMobiAudio ad which was preloadedstatus
- Represents the InMobiAdRequestStatus status containing error reason
-
onAdDisplayed
Unit onAdDisplayed(InMobiAudio ad)
Called to notify that the banner ad has expanded
- Parameters:
ad
- Represents the InMobiAudio ad which was expanded
-
onAdDisplayFailed
Unit onAdDisplayFailed(InMobiAudio ad)
Called to indicate that a request to show an ad (by calling InMobiAudio.show failed. You should call InMobiAudio.load to request for a fresh ad.
- Parameters:
ad
- Represents the InMobiAudio ad which failed to show
-
onAdDismissed
Unit onAdDismissed(InMobiAudio ad)
Called to notify that the User is about to return to the application after closing the ad.
- Parameters:
ad
- Represents the InMobiAudio ad which was closed
-
onUserLeftApplication
Unit onUserLeftApplication(InMobiAudio ad)
Called to notify that the user is about to leave the application as a result of interacting with the ad.
- Parameters:
ad
- Represents the InMobiAudio ad
-
onRewardsUnlocked
Unit onRewardsUnlocked(InMobiAudio ad, Map<Object, Object> rewards)
Called to notify that a reward was unlocked.
- Parameters:
ad
- Represents the InMobiAudio ad for which rewards was unlockedrewards
- Represents the rewards unlocked
-
onAudioStatusChanged
Unit onAudioStatusChanged(InMobiAudio ad, AudioStatus audioStatus)
Called to notify that the Audio status has changed
- Parameters:
ad
- Represents the InMobiAudio adaudioStatus
- Represents the AudioStatus of the current playing ad
-
-
-
-