public static interface AATKit.Delegate
| Modifier and Type | Method and Description |
|---|---|
void |
aatkitHaveAd(int placementId)
Notifies that placement has finished loading an ad successfully.
|
void |
aatkitHaveAdForPlacementWithBannerView(int placementId,
BannerPlacementLayout bannerView)
Notifies that AATKit has new banner view ready for placement.
|
void |
aatkitHaveVASTAd(int placementId,
VASTAdData data)
Notifies that placement has finished loading an VAST ad successfully.
|
void |
aatkitNoAd(int placementId)
Notifies that placement has failed to load an ad.
|
void |
aatkitObtainedAdRules(boolean fromTheServer)
Notifies that the AATKit has obtained ad rules.
|
void |
aatkitPauseForAd(int placementId)
Notifies that ad went fullscreen and that application should pause.
|
void |
aatkitResumeAfterAd(int placementId)
Notifies that ad came back from fullscreen and that application should resume.
|
void |
aatkitShowingEmpty(int placementId)
Notifies that placement has loaded an Empty ad.
|
void |
aatkitUnknownBundleId()
Notifies that application's bundle ID was not recognized by the AddApptr server.
|
void |
aatkitUserEarnedIncentive(int placementId,
AATKitReward aatKitReward)
Notifies that placement has earned incentive (by rewarded ads).
|
void aatkitHaveAd(int placementId)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).void aatkitNoAd(int placementId)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).void aatkitPauseForAd(int placementId)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).void aatkitResumeAfterAd(int placementId)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).void aatkitShowingEmpty(int placementId)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).void aatkitUserEarnedIncentive(int placementId, AATKitReward aatKitReward)
Note: This callback might also be invoked for regular fullscreen placements, not just the ones configured for rewarded videos. Please make sure placementId is your rewarded video placement before rewarding the user.
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).aatKitReward - Incentive object. Can be null for networks not supporting reward information.void aatkitObtainedAdRules(boolean fromTheServer)
fromTheServer - Indicates if the rules came from the server. It will return false if the currently used rules come from the AATKit.setInitialRules(String) method or the cached rules are used.void aatkitUnknownBundleId()
void aatkitHaveAdForPlacementWithBannerView(int placementId, BannerPlacementLayout bannerView)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).bannerView - Loaded banner viewvoid aatkitHaveVASTAd(int placementId, VASTAdData data)
placementId - Placement identifier obtained from AATKit.createPlacement(String, PlacementSize).data - Loaded VAST ad data.