public abstract class
extends Object
java.lang.Object
↳co.adcel.nativeads.NativeAd
Abstract class that provides access to the native advertising data..
interface | NativeAd.OnAdExpiredListener | Interface for handling the event of terminating validity period of RTB advertising provider |
abstract String | getTitle() | Returns the title of the advertising unit |
abstract String | getDescriptionText() | Returns the description text of the advertising unit |
abstract String | getIconUrl() | Returns the link to the icon of the advertising unit |
abstract float | getIconWidth() | Returns the width of the icon |
abstract float | getIconHeight() | Returns the height of the icon |
abstract String | getImageUrl() | Returns the link to the image of the advertising unit |
abstract float | getImageWidth() | Returns the width of the image |
abstract float | getImageHeight() | Returns the height of the image |
abstract String | getCtaText() | Returns the button text |
abstract float | getStarRaiting() | Returns the rating |
boolean | isExpired() | Returns the sign of the relevance of the advertising unit |
void | setOnAdExpiredListener( OnAdExpiredListener onAdExpiredListener) | Sets the event listener for RTB advertising expiration |
abstract String getTitle()
Text of the advertising unit heading
abstract String getDescriptionText()
Text of the advertising unit description
abstract String getIconUrl()
Link to the advertising unit icon
abstract float getIconWidth()
Value of the icon width
abstract float getIconHeight()
Value of the icon heights
abstract String getImageUrl()
Link to the advertising unit show
abstract float getImageWidth()
Value of the image width
abstract float getImageHeight()
Value of the image height
abstract String getCtaText()
Button text
abstract float getStarRaiting()
Rating value
boolean isExpired()
Returns the sign of the advertising unit relevance
true - if advertising unit is not relevant, false - if data is still relevant
void setOnAdExpiredListener(OnAdExpiredListener onAdExpiredListener)
Sets the event listener for RTB advertising expiration
onAdExpiredListener | Interface for handling the event of terminating validity period of RTB advertising provider |