TWMNativeAdContent

data class TWMNativeAdContent(callToAction: String?, shortSubject: String?, longSubject: String?, body: String?, iconRect: TWMNativeAd.Image?, iconSquare: TWMNativeAd.Image?, image960_640: TWMNativeAd.Image?, image1200_627: TWMNativeAd.Image?, mediaContent: TWMMediaContent?)

Data class represents all the native ad information.

Parameters

callToAction

Call to action of this ad

shortSubject

Short subject of this ad

longSubject

Long subject of this ad

body

Detail description of this ad

iconRect

Rectangle icon of this ad

iconSquare

Square icon of this ad

image960_640

Small image of this ad

image1200_627

Big image of this ad

mediaContent

Media content used by TWMMediaView.setMediaContent

Constructors

TWMNativeAdContent
Link copied to clipboard
fun TWMNativeAdContent(callToAction: String?, shortSubject: String?, longSubject: String?, body: String?, iconRect: TWMNativeAd.Image?, iconSquare: TWMNativeAd.Image?, image960_640: TWMNativeAd.Image?, image1200_627: TWMNativeAd.Image?, mediaContent: TWMMediaContent?)
Call to action of this ad

Properties

body
Link copied to clipboard
val body: String?
Detail description of this ad
callToAction
Link copied to clipboard
val callToAction: String?
Call to action of this ad
iconRect
Link copied to clipboard
val iconRect: TWMNativeAd.Image?
Rectangle icon of this ad
iconSquare
Link copied to clipboard
val iconSquare: TWMNativeAd.Image?
Square icon of this ad
image1200_627
Link copied to clipboard
val image1200_627: TWMNativeAd.Image?
Big image of this ad
image960_640
Link copied to clipboard
val image960_640: TWMNativeAd.Image?
Small image of this ad
longSubject
Link copied to clipboard
val longSubject: String?
Long subject of this ad
mediaContent
Link copied to clipboard
val mediaContent: TWMMediaContent?
Media content used by TWMMediaView.setMediaContent
shortSubject
Link copied to clipboard
val shortSubject: String?
Short subject of this ad