Stablishes the default configuration for the ad service.
- Parameters
-
settings | The default settings. |
static AdService* ludei::ads::AdService::create |
( |
AdProvider |
provider = AdProvider::AUTO | ) |
|
|
static |
Creates a new AdService
- Parameters
-
provider | The Ad Provider that will be used or AUTO to automatically select the one linked within the binary |
- Returns
- The AdService with the selected provider or NULL if the provider is not available
static AdService* ludei::ads::AdService::create |
( |
const char * |
className | ) |
|
|
static |
Creates a new AdService
- Parameters
-
className | The className of the provider |
- Returns
- The AdService with the selected provider or NULL if the provider is not available
virtual AdBanner* ludei::ads::AdService::createBanner |
( |
const char * |
adunit = 0 , |
|
|
AdBannerSize |
size = AdBannerSize::SMART_SIZE |
|
) |
| |
|
pure virtual |
Creates a new banner. If no adunit is specified, the default one will be used.
- Parameters
-
virtual AdInterstitial* ludei::ads::AdService::createInterstitial |
( |
const char * |
adunit = 0 | ) |
|
|
pure virtual |
Creates a new interstitial. If no adunit is specified, the default one will be used.
- Parameters
-
adunit | The interstitial adunit. |
The documentation for this class was generated from the following file: