RewardedInterstitialAd
class RewardedInterstitialAd
Class responsible for the display and control of Admod ads.
public class RewardedInterstitialAd
— Constructors (1) —
Constructor | Description |
---|---|
RewardedInterstitialAd(String id) | Creates a new instance of RewardedInterstitialAd with its "id" defined to be the argument. |
— Methods (12) —
Name | Description |
---|---|
String getError() | Returns an error. |
String getId() | Returns the current RewardedInterstitialAd id. |
int getRewardAmount() | Returns the current number of ads of type RewardedInterstitialAd that are displayed. |
String getRewardType() | Returns the current RewardedInterstitialAd reward type. |
boolean isDisplayError() | Returns true if an error is being displayed, returns false if not. |
boolean isDisplayed() | Returns true if an ad is being displayed, returns false if not. |
boolean isLoaded() | Returns true if the ad loaded, returns false if not. |
boolean isLoading() | Returns true if the ad is loading, returns false if not. |
boolean isLoadingError() | Returns true if an error is loading, returns false if not. |
boolean isOnUserEarned() | Returns true if the user watched the ad to the end and received the reward. |
void load() | Loads an ad. |
void show() | Displays an ad. |