-
public interface AdGemCallbackGeneral callback interface for AdGem clients. Use registerCallback to register.
-
-
Method Summary
Modifier and Type Method Description voidonInterstitialAdStateChanged(int newState)Notifies that an interstitial ad state was updated. voidonRewardedAdStateChanged(int newState)Notifies that a rewarded ad state was updated. voidonOfferWallStateChanged(int newState)Notifies that AdGem offer wall state was changed. voidonRewardUser(int amount)Notifies to reward user for the action they performed in the offer wall. voidonInterstitialAdClosed()Notifies that the interstitial ad was closed. voidonRewardedAdComplete()Notifies that AdGem has successfully completed showing rewarded ad to the user. voidonRewardedAdCancelled()Notifies that the user has cancelled rewarded ad. -
-
Method Detail
-
onInterstitialAdStateChanged
@MainThread() void onInterstitialAdStateChanged(int newState)
Notifies that an interstitial ad state was updated.
-
onRewardedAdStateChanged
@MainThread() void onRewardedAdStateChanged(int newState)
Notifies that a rewarded ad state was updated.
-
onOfferWallStateChanged
@MainThread() void onOfferWallStateChanged(int newState)
Notifies that AdGem offer wall state was changed.
-
onRewardUser
@MainThread() void onRewardUser(int amount)
Notifies to reward user for the action they performed in the offer wall.
-
onInterstitialAdClosed
void onInterstitialAdClosed()
Notifies that the interstitial ad was closed.
-
onRewardedAdComplete
void onRewardedAdComplete()
Notifies that AdGem has successfully completed showing rewarded ad to the user.
-
onRewardedAdCancelled
void onRewardedAdCancelled()
Notifies that the user has cancelled rewarded ad.
-
-
-
-