public static interface InstreamAudioAd.InstreamAudioAdListener
| Modifier and Type | Method and Description |
|---|---|
void |
onBannerComplete(InstreamAudioAd ad,
InstreamAudioAd.InstreamAudioAdBanner banner)
Will be called when the ad audio banner completes
|
void |
onBannerStart(InstreamAudioAd ad,
InstreamAudioAd.InstreamAudioAdBanner banner)
Will be called when the audio banner starts showing.
|
void |
onBannerTimeLeftChange(float timeLeft,
float duration,
InstreamAudioAd ad)
Will be called multiple times for each banner between the onBannerStart and
onBannerComplete events.
|
void |
onComplete(java.lang.String section,
InstreamAudioAd ad)
Will be called when the ad audio section completes
|
void |
onError(java.lang.String reason,
InstreamAudioAd ad)
Will be called in case of any error in the ad displaying process.
|
void |
onLoad(InstreamAudioAd ad)
Will be called if the ad is loaded successfully.
|
void |
onNoAd(java.lang.String reason,
InstreamAudioAd ad)
Will be called if the ad was not found.
|
void onLoad(@NonNull
InstreamAudioAd ad)
ad - current ad instancevoid onNoAd(@NonNull
java.lang.String reason,
@NonNull
InstreamAudioAd ad)
reason - of no adsad - current ad instancevoid onError(@NonNull
java.lang.String reason,
@NonNull
InstreamAudioAd ad)
reason - reason for errorad - current ad instancevoid onBannerStart(@NonNull
InstreamAudioAd ad,
@NonNull
InstreamAudioAd.InstreamAudioAdBanner banner)
ad - current ad instancebanner - banner which was startedInstreamAudioAd.InstreamAudioAdBannervoid onBannerComplete(@NonNull
InstreamAudioAd ad,
@NonNull
InstreamAudioAd.InstreamAudioAdBanner banner)
ad - current ad instancebanner - banner which was completedInstreamAudioAd.InstreamAudioAdBannervoid onBannerTimeLeftChange(float timeLeft,
float duration,
@NonNull
InstreamAudioAd ad)
timeLeft - ad audio left time in secondsduration - duration of ad audio in secondsad - current ad instancevoid onComplete(@NonNull
java.lang.String section,
@NonNull
InstreamAudioAd ad)
section - the name of completed audio ad sectionad - current ad instance