Defines the ad service.
More...
- Author
- Imanol Fernández
- Version
- 1.0
void com.ludei.ads.AdService.configure |
( |
String |
bannerAdUnit, |
|
|
String |
interstitialAdUnit |
|
) |
| |
- Parameters
-
bannerAdUnit | The banner AdUnit. |
interstitialAdUnit | The intesttitial AdUnit. |
AdBanner com.ludei.ads.AdService.createBanner |
( |
Context |
ctx | ) |
|
- Parameters
-
- Returns
- A banner ad.
AdBanner com.ludei.ads.AdService.createBanner |
( |
Context |
ctx, |
|
|
String |
adunit, |
|
|
AdBanner.BannerSize |
size |
|
) |
| |
- Parameters
-
adunit | Optional banner adunit, taken from settings if not specified. |
size | The size of the banner. |
- Returns
- A banner ad.
AdInterstitial com.ludei.ads.AdService.createInterstitial |
( |
Context |
ctx | ) |
|
- Parameters
-
- Returns
- An interstitial ad.
AdInterstitial com.ludei.ads.AdService.createInterstitial |
( |
Context |
ctx, |
|
|
String |
adunit |
|
) |
| |
- Parameters
-
adunit | Optional interstitial adunit, taken from settings if not specified. |
ctx | The activity context. |
- Returns
- An interstitial ad.
AdInterstitial com.ludei.ads.AdService.createRewardedVideo |
( |
Context |
ctx, |
|
|
String |
adunit |
|
) |
| |
If the networks doesn't support rewarded video it fallbacks to a interstitial
- Parameters
-
adunit | Optional interstitial adunit, taken from settings if not specified. |
ctx | The activity context. |
- Returns
- An interstitial ad.
The documentation for this interface was generated from the following file: