Carousel Ad View
View object for carousel ads. Ad spot ID or Ad spot Code must be set prior to calling show().
-> Sample Code
Since
1.6.0
Constructors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun CarouselAdView(context: Context, attrs: AttributeSet?, defStyleAttr: Int)
Content copied to clipboard
Link copied to clipboard
fun CarouselAdView(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)
Content copied to clipboard
Types
Functions
Link copied to clipboard
Add an AdView instance to display ads.
Do not execute the show method of the AdView to be added.
Link copied to clipboard
open override fun addAdSpotCode(vararg adSpotCode: String): CarouselAdView
Content copied to clipboard
Add the AdSpot code.
open override fun addAdSpotCode(adSpotCode: String, property: JSONObject?): CarouselAdView
Content copied to clipboard
Add a code with a property for customization.
Link copied to clipboard
Add the AdSpot IDs.
open override fun addAdSpotId(adSpotId: String, property: JSONObject?): CarouselAdView
Content copied to clipboard
Add an ID with a property for customization.
Link copied to clipboard
Clear the added AdSpot codes.
Link copied to clipboard
Clear the added AdSpot IDs.
Link copied to clipboard
Clear the added AdViews.
Link copied to clipboard
Returns the added AdSpot codes.
Link copied to clipboard
Returns the added AdSpot IDs.
Link copied to clipboard
Returns the added AdViews with array.
Link copied to clipboard
Returns the added properties with Bundle.
Link copied to clipboard
Specify any key/value required for customization.
Link copied to clipboard