SASMediationNativeAdContent

Interface implemented by Object exposing mediation native ad content

Functions

Link copied to clipboard
Returns the url to open the browser to when the user clicks on the com.smartadserver.android.library.ui.SASAdChoicesView element
Link copied to clipboard
abstract fun getBody(): String
Returns the body property of this mediation native ad
Link copied to clipboard
Returns the call to action property of this mediation native ad
Link copied to clipboard
abstract fun getCoverImageHeight(): Int
Returns the cover image height property of this mediation native ad
Link copied to clipboard
Returns the cover image url property of this mediation native ad
Link copied to clipboard
abstract fun getCoverImageWidth(): Int
Returns the cover image width property of this mediation native ad
Link copied to clipboard
abstract fun getIconHeight(): Int
Returns the icon height property of this mediation native ad
Link copied to clipboard
abstract fun getIconUrl(): String
Returns the icon url property of this mediation native ad
Link copied to clipboard
abstract fun getIconWidth(): Int
Returns the icon width property of this mediation native ad
Link copied to clipboard
Returns the SASNativeVideoAdElement media element property of this mediation native ad
Link copied to clipboard
abstract fun getMediaView(@NonNull context: Context): View
Returns the media view property of this mediation native ad
Link copied to clipboard
abstract fun getRating(): Float
Returns the rating property of this mediation native ad (between 0 and 5)
Link copied to clipboard
Returns the sponsored message property of this mediation native ad
Link copied to clipboard
abstract fun getSubTitle(): String
Returns the subtitle property of this mediation native ad
Link copied to clipboard
abstract fun getTitle(): String
Returns the title property of this mediation native ad
Link copied to clipboard
abstract fun registerView(@NonNull v: View, @Nullable clickableViews: Array<View>)
Registers the specified view with this native ad (optional: array of clickable subviews)
Link copied to clipboard
abstract fun unregisterView(@NonNull v: View)
Unregisters the specified view from this native ad