| Known Direct Subclasses |
This class is deprecated.
Use UnifiedNativeAdMapper.
Base mapping class for AdMob native ads.
| protected View | mAdChoicesContent | |
| protected Bundle | mExtras | |
| protected boolean | mOverrideClickHandling | |
| protected boolean | mOverrideImpressionRecording |
| View |
getAdChoicesContent()
Returns the view being used as AdChoices content.
|
| final Bundle |
getExtras()
Returns a bundle of extras passed in setExtra method.
|
| final boolean |
getOverrideClickHandling()
Returns true if the ad network does click handling on its own.
|
| final boolean |
getOverrideImpressionRecording()
Returns true if the ad network does impression tracking on its own.
|
| void |
handleClick(View view)
Subclasses should implement this method if the network requires the developer
to explicitly handle click events of views rendered to screen.
|
| boolean |
hasVideoContent()
Returns true if the current ad has video content.
|
| void |
recordImpression()
Subclasses should implement this method if the network requires the developer
to explicitly record an impression of a view rendered to screen.
|
| void | |
| final void | |
| void |
setHasVideoContent(boolean hasVideoContent)
Set to true if the current ad has video content.
|
| void | |
| final void |
setOverrideClickHandling(boolean overrideClickHandling)
Set to true if the ad network does click handling on its own.
|
| final void |
setOverrideImpressionRecording(boolean overrideImpressionRecording)
Set to true if the ad network does impression tracking on its own.
|
| void | |
| void | |
| void |
untrackView(View view)
Subclasses should implement this method if the mediated network's SDK offers a
way to stop tracking a native ad view for the ad mapped by this object.
|
Returns the view being used as AdChoices content.
Returns a bundle of extras passed in setExtra method.
Returns true if the ad network does click handling on its own.
Returns true if the ad network does impression tracking on its own.
Subclasses should implement this method if the network requires the developer to explicitly handle click events of views rendered to screen.
Returns true if the current ad has video content.
Subclasses should implement this method if the network requires the developer to explicitly record an impression of a view rendered to screen.
Set a view to be used as AdChoices content.
Sets a bundle of extras containing attributes that are not already attributes of the Google native ad object.
Set to true if the current ad has video content.
Set mediated view that displays media. This is the View provided by the mediated SDK to display video content for the ad.
Set to true if the ad network does click handling on its own.
Set to true if the ad network does impression tracking on its own.
This method is deprecated.
Use
trackViews(View, Map, Map) instead.
Subclasses should implement this method if the network requires the developer to prepare state for recording an impression and/or click before a view is rendered to screen.
Subclasses should implement this method if the network requires the developer to prepare state for recording an impression and/or click before a view is rendered to screen.
| containerView | The container View for the
ad. |
|---|---|
| clickableAssetViews | The Map of clickable
asset names to corresponding View. |
| nonclickableAssetViews |
The Map of
non-clickable asset names to corresponding View.
Find the asset name constants in |
Subclasses should implement this method if the mediated network's SDK offers a way to stop tracking a native ad view for the ad mapped by this object.