com.inmobi.ads.InMobiBanner Java Examples

The following examples show how to use com.inmobi.ads.InMobiBanner. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onAdLoadSucceeded(InMobiBanner inMobiBanner) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onAdLoadSucceeded" );
    if (mediatedAdViewController != null) {
        mediatedAdViewController.onAdLoaded();
    }
}
 
Example #2
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onAdLoadFailed(InMobiBanner inMobiBanner, InMobiAdRequestStatus inMobiAdRequestStatus) {
    Clog.e(Clog.mediationLogTag, "InMobiBanner: onAdLoadFailed" );
    if (mediatedAdViewController != null) {
        mediatedAdViewController.onAdFailed(InMobiSettings.getResultCode(inMobiAdRequestStatus));
    }
}
 
Example #3
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onAdDisplayed(InMobiBanner inMobiBanner) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onAdDisplayed" );
    if (mediatedAdViewController != null) {
        mediatedAdViewController.onAdExpanded();
    }
}
 
Example #4
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onAdDismissed(InMobiBanner inMobiBanner) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onAdDismissed" );
    if (mediatedAdViewController != null) {
        mediatedAdViewController.onAdCollapsed();
    }
}
 
Example #5
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 5 votes vote down vote up
@Override
public void onAdClicked(InMobiBanner inMobiBanner, Map<Object, Object> map) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onAdClicked" );
    if (mediatedAdViewController != null) {
        mediatedAdViewController.onAdClicked();
    }
}
 
Example #6
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 4 votes vote down vote up
@Override
public void onUserLeftApplication(InMobiBanner inMobiBanner) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onUserLeftApplication" );

}
 
Example #7
Source File: InMobiBannerAdListener.java    From mobile-sdk-android with Apache License 2.0 4 votes vote down vote up
@Override
public void onRewardsUnlocked(InMobiBanner inMobiBanner, Map<Object, Object> map) {
    Clog.d(Clog.mediationLogTag, "InMobiBanner: onRewardsUnlocked" );
}