open fun loadAd(ad: String, autoPlay: Boolean, opener: String?, closer: String?, bumper: String?): Unit
Same as SxAdSlotController.loadAd but with Strings instead of Uris for the Url's.
open fun loadAd(ad: Uri, autoPlay: Boolean, opener: Uri?, closer: Uri?, bumper: Uri?): Unit
Request the initialization of the provided ad tag and its optional opener, closer and bumper from the smartcore.
ad
- Uri to Ad-Tag
autoPlay
- Boolean starts playback right after the ad tag was loaded. Default is true
.
When setting to false
you can start the ad with startAd.
opener
- Uri to opener
closer
- Uri to closer
bumper
- Uri to bumper