![]() Ads:getWidth() -get width of ad (banners only).Ads:getPosition() -get x and y position (banners only).Ads getY(y) -get y position (banners only).Ads:getX(x) -get x position (banners only).Ads:setY(y) -set y position (banners only).Ads:setX(x) -set x position (banners only).Ads:setPosition(x, y) -set position (banners only).Ads:setAlignment(horizontal, vertical) -set add alignment if possible.Ads:enableTesting() -enables test ads if framework supports it.Ads:hideAd(adType) -hide ad with adType provided in showAd., valueN) -provide ad types and any other needed information, to determine which type of ad to show on Native part , valueN) -provide ad types and any other needed information, to preload an ad without showing it , valueN) - provide all the keys/appids/etc needed for the framework, which you will get in same order on Native part in Map object Ads.new(adframework) - initialize specified ad framework.Enable test ads with one simple call (depends on ad framework).Place home ads (Bitmap objects) under banners, to display them if there is no ad or Internet connection.Get dimensions and position banners as any other Gideros element.Easily create fall backs to other frameworks if one framework failed. ![]() Providing ability to use multiple ad frameworks simultaneously.Using same interface not only across platforms, but also across ad frameworks.The idea is to provide common Ads interface for most of available ad frameworks, so that user's would not have to create a plugin for each of them separately, but rather it would be possible to wrap ad framework in single Java or Objective-C class (depending on the platform) and add it to the project, without even recompiling existing Ads Interface plugin.Īdditionally it would be able to support multiple ad frameworks simultaneously so users could switch and fall back between ad frameworks on runtime.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |