Millennial Media Android Ad SDK Public Documentation  6.6.1
Classes | Public Member Functions | List of all members
CustomEventNativeAd Class Reference

Classes

class  Component
 
class  ImageComponent
 
class  TextComponent
 

Public Member Functions

TextComponent getRating ()
 
void setRating (TextComponent rating)
 
TextComponent getCallToAction ()
 
void setCallToAction (TextComponent callToAction)
 
ImageComponent getIconUrl ()
 
void setIconUrl (ImageComponent iconUrl)
 
ImageComponent getMainImageUrl ()
 
void setMainImageUrl (ImageComponent mainImageUrl)
 
TextComponent getTitle ()
 
void setTitle (TextComponent title)
 
TextComponent getDisclaimer ()
 
void setDisclaimer (TextComponent disclaimer)
 
TextComponent getBody ()
 
void setBody (TextComponent body)
 

Detailed Description

This class is used to pass native ad data to the One by AOL SDK. It is populated from the third party native ad and passed to the SDK via the com.millennialmedia.mediation.CustomEventNative.CustomEventNativeListener#onLoaded(CustomEventNativeAd) callback.

Member Function Documentation

◆ getBody()

TextComponent getBody ( )

Returns the body component.

Returns
the body component.

◆ getCallToAction()

TextComponent getCallToAction ( )

Returns the call to action component.

Returns
the call to action component.

◆ getDisclaimer()

TextComponent getDisclaimer ( )

Returns the disclaimer component.

Returns
the disclaimer component.

◆ getIconUrl()

ImageComponent getIconUrl ( )

Returns the icon component.

Returns
the icon component.

◆ getMainImageUrl()

ImageComponent getMainImageUrl ( )

Returns the main image component.

Returns
the main image component.

◆ getRating()

TextComponent getRating ( )

Returns the rating component.

Returns
the rating component.

◆ getTitle()

TextComponent getTitle ( )

Returns the title component.

Returns
the title component.

◆ setBody()

void setBody ( TextComponent  body)

Sets the body component.

Parameters
bodythe body component.

◆ setCallToAction()

void setCallToAction ( TextComponent  callToAction)

Sets the call to action component.

Parameters
callToActionthe call to action component.

◆ setDisclaimer()

void setDisclaimer ( TextComponent  disclaimer)

Sets the disclaimer component.

Parameters
disclaimerthe disclaimer component.

◆ setIconUrl()

void setIconUrl ( ImageComponent  iconUrl)

Sets the icon component.

Parameters
iconUrlthe icon component.

◆ setMainImageUrl()

void setMainImageUrl ( ImageComponent  mainImageUrl)

Sets the main image component.

Parameters
mainImageUrlthe icon component.

◆ setRating()

void setRating ( TextComponent  rating)

Sets the rating component.

Parameters
ratingthe rating component.

◆ setTitle()

void setTitle ( TextComponent  title)

Sets the title component.

Parameters
titlethe title component.