Skip to end of metadata
Go to start of metadata

Index

JavaScript is disabled on your browser.
A B C D F G H I L M N O P Q R S T U V W 

A

activityOnDestroy() - Method in class com.appnexus.opensdk.AdView
To be called by the developer when the fragment/activity's onDestroy() function is called.
activityOnDestroy() - Method in class com.appnexus.opensdk.BannerAdView
 
activityOnDestroy() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
activityOnDestroy() - Method in class com.appnexus.opensdk.InterstitialAdView
 
activityOnPause() - Method in class com.appnexus.opensdk.AdView
To be called by the developer when the fragment/activity's onPause() function is called.
activityOnPause() - Method in class com.appnexus.opensdk.BannerAdView
 
activityOnPause() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
activityOnPause() - Method in class com.appnexus.opensdk.InterstitialAdView
 
activityOnResume() - Method in class com.appnexus.opensdk.AdView
To be called by the developer when the fragment/activity's onResume() function is called.
activityOnResume() - Method in class com.appnexus.opensdk.BannerAdView
 
activityOnResume() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
activityOnResume() - Method in class com.appnexus.opensdk.InterstitialAdView
 
addCustomKeywords(String, String) - Method in class com.appnexus.opensdk.AdView
Add a custom keyword to the request URL for the ad.
addCustomKeywords(String, String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Add a custom keyword to the request URL for the ad.
addCustomKeywords(String, String) - Method in class com.appnexus.opensdk.NativeAdRequest
Add a custom keyword to the request URL for the ad.
AdListener - Interface in com.appnexus.opensdk
Implement this interface and pass it to your BannerAdView and InterstitialAdView objects to receive events on the status of the ad.
AdSize - Class in com.appnexus.opensdk
A convenience class which holds a width and height in integers.
AdSize(int, int) - Constructor for class com.appnexus.opensdk.AdSize
 
AdType - Enum in com.appnexus.opensdk
AdType Enum directly maps to ad_type in UT V2 Response
AdView - Class in com.appnexus.opensdk
The parent class of InterstitialAdView and BannerAdView.
AdView.GENDER - Enum in com.appnexus.opensdk
The user's gender.
ANClickThroughAction - Enum in com.appnexus.opensdk
 
ANGDPRSettings - Class in com.appnexus.opensdk
Global GDPR Settings class.
ANGDPRSettings() - Constructor for class com.appnexus.opensdk.ANGDPRSettings
 
AppEventListener - Interface in com.appnexus.opensdk
Implement this interface and pass it to your BannerAdView and InterstitialAdView objects to receive app events from the ad.

B

BannerAdView - Class in com.appnexus.opensdk
This view is added to an existing layout in order to display banner ads.
BannerAdView(Context) - Constructor for class com.appnexus.opensdk.BannerAdView
Create a new BannerAdView in which to load and show ads.
BannerAdView(Context, AttributeSet) - Constructor for class com.appnexus.opensdk.BannerAdView
Create a new BannerAdView in which to load and show ads.
BannerAdView(Context, AttributeSet, int) - Constructor for class com.appnexus.opensdk.BannerAdView
Create a new BannerAdView in which to load and show ads.
BannerAdView(Context, int) - Constructor for class com.appnexus.opensdk.BannerAdView
Creates a new BannerAdView in which to load and show ads.
BannerAdView.AdAlignment - Enum in com.appnexus.opensdk
 

C

clearCustomKeywords() - Method in class com.appnexus.opensdk.AdView
Clear all custom keywords from the request URL.
clearCustomKeywords() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Clear all custom keywords from the request URL.
clearCustomKeywords() - Method in class com.appnexus.opensdk.NativeAdRequest
Clear all custom keywords from the request URL.
com.appnexus.opensdk - package com.appnexus.opensdk
The AppNexus Mobile Advertising SDK
com.appnexus.opensdk.instreamvideo - package com.appnexus.opensdk.instreamvideo
 
com.appnexus.opensdk.transitionanimation - package com.appnexus.opensdk.transitionanimation
 

D

destroy() - Method in class com.appnexus.opensdk.AdView
This must be called from the UI thread, when permanently remove the AdView from the view hierarchy.
destroy() - Method in class com.appnexus.opensdk.BannerAdView
 
destroy() - Method in class com.appnexus.opensdk.InterstitialAdView
Destroy this InterstitialAdView object.
destroy() - Method in interface com.appnexus.opensdk.NativeAdResponse
Destroy the response

F

fitsIn(int, int) - Method in class com.appnexus.opensdk.AdSize
Determines whether this size object fits inside a rectangle of the given width and height

G

getAAID() - Static method in class com.appnexus.opensdk.SDKSettings
Retrieve the current Android Advertising ID to be reported to the ad server.
getAdAlignment() - Method in class com.appnexus.opensdk.BannerAdView
Returns the alignment of ads inside the BannerAdView.
getAdDispatcher() - Method in class com.appnexus.opensdk.AdView
 
getAdDispatcher() - Method in class com.appnexus.opensdk.NativeAdRequest
 
getAdHeight() - Method in class com.appnexus.opensdk.BannerAdView
Check the height of the ad to be requested for this view.
getAdListener() - Method in class com.appnexus.opensdk.AdView
Gets the currently installed listener that the SDK will send events to.
getAdLoadListener() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Get the listener that listens the state of the request
getAdMaxDuration() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
use this to get the max duration set for the video tag
getAdMinDuration() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
use this to get the min duration set for the video tag
getAdPlayElapsedTime(ResultCallback) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Asynchronously calls the VideoAd and gets the current ad play elapsed time in milliseconds.
getAdSizes() - Method in class com.appnexus.opensdk.BannerAdView
Check the ad sizes which will be requested for this view.
getAdStarRating() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve rating from the native ad response.
getAdType() - Method in class com.appnexus.opensdk.AdView
Retrieve the AdType being served on the AdView AdType can be Banner/Video
getAdWidth() - Method in class com.appnexus.opensdk.BannerAdView
Check the width of the ad to be requested for this view.
getAge() - Method in class com.appnexus.opensdk.AdView
Retrieve the current user's age.
getAge() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Get the age or age range for the ad request
getAge() - Method in class com.appnexus.opensdk.NativeAdRequest
Get the age or age range for the ad request
getAge() - Method in class com.appnexus.opensdk.TargetingParameters
The current user's age, passed by to the ad request.
getAllowedSizes() - Method in class com.appnexus.opensdk.InterstitialAdView
Get a list of ad AdSizes which are allowed to be displayed.
getAllowNativeDemand() - Method in class com.appnexus.opensdk.BannerAdView
Check whether Native Ad is enabled on this ad view
getAllowVideoDemand() - Method in class com.appnexus.opensdk.BannerAdView
Check whether Video Ad is enabled on this ad view
getAppEventListener() - Method in class com.appnexus.opensdk.AdView
Gets the currently installed app event listener that the SDK will send custom events to.
getAutoRefreshInterval() - Method in class com.appnexus.opensdk.BannerAdView
Retrieve the currently set auto-refresh interval.
getBackgroundColor() - Method in class com.appnexus.opensdk.InterstitialAdView
Get the current background color which will appear behind the interstitial ad.
getCallToAction() - Method in interface com.appnexus.opensdk.NativeAdResponse
The text for the call to action
getClickThroughAction() - Method in class com.appnexus.opensdk.AdView
Returns the ANClickThroughAction that is used for this AdView.
getClickThroughAction() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Returns the ANClickThroughAction that is used for this VideoAd.
getClickThroughAction() - Method in class com.appnexus.opensdk.NativeAdRequest
Returns the ANClickThroughAction that is used for this NativeAdRequest.
getCloseButtonDelay() - Method in class com.appnexus.opensdk.InterstitialAdView
Get the delay between when an interstitial ad is displayed and when the close button appears to the user.
getConsentRequired(Context) - Static method in class com.appnexus.opensdk.ANGDPRSettings
Get the Consent Required value that will be sent in the request.
getConsentString(Context) - Static method in class com.appnexus.opensdk.ANGDPRSettings
Get the Consent String that will be sent in the request.
getCreativeHeight() - Method in class com.appnexus.opensdk.AdView
Retrieve the 'unexpanded' size of the creative .
getCreativeHeight() - Method in class com.appnexus.opensdk.InterstitialAdView
Interstitial ads always return height -1
getCreativeId() - Method in class com.appnexus.opensdk.AdView
Retrieve the Creative Id of the creative .
getCreativeId() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Retrieve the Creative Id of the creative .
getCreativeId() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve the creative Id
getCreativeURL() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
getCreativeWidth() - Method in class com.appnexus.opensdk.AdView
Retrieve the 'unexpanded' size of the creative .
getCreativeWidth() - Method in class com.appnexus.opensdk.InterstitialAdView
Interstitial ads always return width -1
getCustomKeywords() - Method in class com.appnexus.opensdk.AdView
Retrieve the array of custom keywords associated with the current AdView.
getCustomKeywords() - Method in class com.appnexus.opensdk.TargetingParameters
Local custom keywords added to the ad request.
getDescription() - Method in interface com.appnexus.opensdk.NativeAdResponse
The text description of the ad , the text body
getDirectionForInt(int) - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionDirection
 
getExpandsToFitScreenWidth() - Method in class com.appnexus.opensdk.BannerAdView
Check whether the ad will expand to fit the screen width.
getExternalUid() - Method in class com.appnexus.opensdk.AdView
Retrieve the externalUID that was previously set.
getExternalUid() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Retrieve the externalUID that was previously set.
getExternalUid() - Method in class com.appnexus.opensdk.NativeAdRequest
Retrieve the externalUID that was previously set.
getExternalUid() - Method in class com.appnexus.opensdk.TargetingParameters
Retrieve the externalUID that was previously set.
getFullText() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve full text from native ad response
getGender() - Method in class com.appnexus.opensdk.AdView
Get the current user's gender, if it's available.
getGender() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Get the user's gender
getGender() - Method in class com.appnexus.opensdk.NativeAdRequest
Get the user's gender
getGender() - Method in class com.appnexus.opensdk.TargetingParameters
The current user's gender, passed to the ad request.
getIcon() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve the icon image resource, null if there was no image available or if shouldLoadIcon returned false for the ad call
getIconUrl() - Method in interface com.appnexus.opensdk.NativeAdResponse
The URL of the Icon image resource can be used to manage image resources manually
getImage() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve the main image resource, null if there was no image available or if shouldLoadImage() was set to false.
getImageUrl() - Method in interface com.appnexus.opensdk.NativeAdResponse
The URL of the main image can be used to manage image resources manually
getInventoryCode() - Method in class com.appnexus.opensdk.AdView
Retrieve the inventory code.
getInventoryCode() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Retrieve the inventory code.
getInventoryCode() - Method in class com.appnexus.opensdk.NativeAdRequest
Retrieve the inventory code.
getListener() - Method in class com.appnexus.opensdk.NativeAdRequest
Set the listener that listens the state of the request
getLoadsInBackground() - Method in class com.appnexus.opensdk.AdView
Gets whether or not this AdView will load landing pages in the background before displaying them.
getLoadsInBackground() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Gets whether or not this AdView will load landing pages in the background before displaying them.
getLoadsInBackground() - Method in class com.appnexus.opensdk.NativeAdRequest
Gets whether or not this AdView will load landing pages in the background before displaying them.
getLocation() - Static method in class com.appnexus.opensdk.SDKSettings
Retrieve the current location reported to the ad server.
getLocation() - Method in class com.appnexus.opensdk.TargetingParameters
The current user's location, passed to the ad request.
getLocationDecimalDigits() - Static method in class com.appnexus.opensdk.SDKSettings
Returns the number of digits after decimal of latitude and longitude.
getLocationEnabled() - Static method in class com.appnexus.opensdk.SDKSettings
Returns true if the ad server calls will include location information or false otherwise.
getMaxHeight() - Method in class com.appnexus.opensdk.BannerAdView
Check the maximum height of the ad to be requested.
getMaxWidth() - Method in class com.appnexus.opensdk.BannerAdView
Check the maximum width of the ad to be requested.
getMediaType() - Method in class com.appnexus.opensdk.BannerAdView
 
getMediaType() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
getMediaType() - Method in class com.appnexus.opensdk.InterstitialAdView
 
getMediaType() - Method in class com.appnexus.opensdk.NativeAdRequest
 
getMemberID() - Method in class com.appnexus.opensdk.AdView
Retrieve the member ID.
getMemberID() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Retrieve the member ID.
getMemberID() - Method in class com.appnexus.opensdk.NativeAdRequest
Retrieve the member ID.
getNativeElements() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve a map of all elements within the native ad response.
getNetworkIdentifier() - Method in interface com.appnexus.opensdk.NativeAdResponse
 
getOpensNativeBrowser() - Method in class com.appnexus.opensdk.AdView
Deprecated.
Use getClickThroughAction instead Refer ANClickThroughAction
getOpensNativeBrowser() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Deprecated.
Use getClickThroughAction instead Refer ANClickThroughAction
getOpensNativeBrowser() - Method in class com.appnexus.opensdk.NativeAdRequest
Deprecated.
Use getClickThroughAction instead Refer ANClickThroughAction
getPlacementID() - Method in class com.appnexus.opensdk.AdView
Retrieve the current placement ID.
getPlacementID() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Retrieve the placement id for ad request.
getPlacementID() - Method in class com.appnexus.opensdk.NativeAdRequest
Retrieve the placement id for ad request.
getRequestParameters() - Method in class com.appnexus.opensdk.AdView
 
getRequestParameters() - Method in class com.appnexus.opensdk.NativeAdRequest
 
getReserve() - Method in class com.appnexus.opensdk.AdView
Retrieve the reserve price.
getResizeAdToFitContainer() - Method in class com.appnexus.opensdk.BannerAdView
Check whether the ad will expand to fit the BannerAdView.
getScale() - Method in class com.appnexus.opensdk.NativeAdResponse.Rating
 
getShouldReloadOnResume() - Method in class com.appnexus.opensdk.BannerAdView
Check whether the ad view will load a new ad if the user resumes use of the app from a screenlock or multitask.
getShouldServePSAs() - Method in class com.appnexus.opensdk.AdView
Retrieve the current PSA setting.
getShowLoadingIndicator() - Method in class com.appnexus.opensdk.AdView
Get whether or not the banner or interstitial should show the loading indicator after being pressed, but before able to launch the browser.
getShowLoadingIndicator() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Get whether or not the Video Ad should show the loading indicator after being pressed, but before able to launch the browser.
getSocialContext() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve the social context of the native ad response.
getSponsoredBy() - Method in interface com.appnexus.opensdk.NativeAdResponse
Retrieve sponspored by text from native ad response
getTitle() - Method in interface com.appnexus.opensdk.NativeAdResponse
The Title for this native ad
getTransitionDirection() - Method in class com.appnexus.opensdk.BannerAdView
Get the direction of the transition animation
getTransitionDuration() - Method in class com.appnexus.opensdk.BannerAdView
Get the duration for the transition animation
getTransitionType() - Method in class com.appnexus.opensdk.BannerAdView
Get the type of the transition animation
getTypeForInt(int) - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionType
 
getValue() - Method in class com.appnexus.opensdk.NativeAdResponse.Rating
 
getVastURL() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
getVastXML() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
getVideoAdDuration() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
getVideoPlaybackListener() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Get the listener that listens the state of the video

H

hasExpired() - Method in interface com.appnexus.opensdk.NativeAdResponse
Determine if this Response has expired
height() - Method in class com.appnexus.opensdk.AdSize
 

I

InterstitialAdView - Class in com.appnexus.opensdk
This class controls the loading and display of interstitial ads.
InterstitialAdView(Context) - Constructor for class com.appnexus.opensdk.InterstitialAdView
Creates a new interstitial ad view in which to load and show interstitial ads.
InterstitialAdView(Context, AttributeSet) - Constructor for class com.appnexus.opensdk.InterstitialAdView
Creates a new interstitial ad view in which to load and show interstitial ads.
InterstitialAdView(Context, AttributeSet, int) - Constructor for class com.appnexus.opensdk.InterstitialAdView
Creates a new interstitial ad view in which to load and show interstitial ads.
isHttpsEnabled() - Static method in class com.appnexus.opensdk.SDKSettings
Returns true if the Https is enabled for the ad calls or false otherwise.
isLocationEnabledForCreative() - Static method in class com.appnexus.opensdk.SDKSettings
Returns false if the locationEnabledForCreative is set to false or true otherwise
isReady() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Checks the queue to see if there is a valid video ad available.
isReady() - Method in class com.appnexus.opensdk.InterstitialAdView
Checks the queue to see if there is a valid (i.e., fresher than 60 seconds) interstitial ad available.
isReady() - Method in interface com.appnexus.opensdk.MediatedInterstitialAdView
The AppNexus SDK will call this method to check if the interstitial view is ready when the user calls InterstitialAdView.isReady().
isReadyToStart() - Method in class com.appnexus.opensdk.AdView
 
isReadyToStart() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
 
isReadyToStart() - Method in class com.appnexus.opensdk.NativeAdRequest
 

L

loadAd() - Method in class com.appnexus.opensdk.AdView
Loads a new ad, if the ad space is visible.
loadAd(String) - Method in class com.appnexus.opensdk.AdView
Loads a new ad, if the ad space is visible, and sets the AdView's placement ID.
loadAd() - Method in class com.appnexus.opensdk.BannerAdView
Call this method to start loading an ad into this view asynchronously.
loadAd(String, int, int) - Method in class com.appnexus.opensdk.BannerAdView
Loads a new ad, if the ad space is visible, and sets the placement ID, ad width, and ad height attributes of the AdView.
loadAd() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Call this to request a VideoAd for parameters described by this object.
loadAd() - Method in class com.appnexus.opensdk.InterstitialAdView
Requests a new interstitial ad from the server and stores it in a local queue.
loadAd() - Method in class com.appnexus.opensdk.NativeAdRequest
Call this to request a native ad for parameters described by this object.
loadAdOffscreen() - Method in class com.appnexus.opensdk.AdView
Deprecated.
use AdView.loadAd() instead.

M

MainMedia() - Constructor for class com.appnexus.opensdk.NativeAdResponse.MainMedia
 
MediatedBannerAdView - Interface in com.appnexus.opensdk
This is the interface a mediation adaptor must implement for requesting banner ads.
MediatedInterstitialAdView - Interface in com.appnexus.opensdk
This interface must be implemented by third-party SDKs whose interstitial views will be mediated by the AppNexus SDK.
MediatedNativeAd - Interface in com.appnexus.opensdk
This is the interface a mediation adaptor must implement for requesting native ads.

N

NativeAdEventListener - Interface in com.appnexus.opensdk
Define the events that an ad may fire.
NativeAdRequest - Class in com.appnexus.opensdk
Define the attributes used for requesting a native ad.
NativeAdRequest(Context, String) - Constructor for class com.appnexus.opensdk.NativeAdRequest
 
NativeAdRequest(Context, String, int) - Constructor for class com.appnexus.opensdk.NativeAdRequest
 
NativeAdRequestListener - Interface in com.appnexus.opensdk
Define the events relating the status of a NativeAdRequest
NativeAdResponse - Interface in com.appnexus.opensdk
 
NativeAdResponse.MainMedia - Class in com.appnexus.opensdk
 
NativeAdResponse.Network - Enum in com.appnexus.opensdk
 
NativeAdResponse.Rating - Class in com.appnexus.opensdk
 
NativeAdSDK - Class in com.appnexus.opensdk
Application view Interactions with the Native SDK
NativeAdSDK() - Constructor for class com.appnexus.opensdk.NativeAdSDK
 

O

onAdClicked(AdView) - Method in interface com.appnexus.opensdk.AdListener
Called when the ad being clicked and the ClickThroughAction is set as either ANClickThroughAction.OPEN_DEVICE_BROWSER or ANClickThroughAction.OPEN_SDK_BROWSER.
onAdClicked(AdView, String) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad is clicked and the ANClickThroughAction is set to ANClickThroughAction.RETURN_URL.
onAdClicked(VideoAd) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Called when the ad being clicked and the ClickThroughAction is set as either ANClickThroughAction.OPEN_DEVICE_BROWSER or ANClickThroughAction.OPEN_SDK_BROWSER.
onAdClicked(VideoAd, String) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Called when the ad being clicked and the ClickThroughAction is set as ANClickThroughAction.RETURN_URL ANClickThroughAction
onAdCollapsed(AdView) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad is closed/unexpanded, for example if the user has stopped interacting with the ad.
onAdCompleted(VideoAd, VideoAdPlaybackListener.PlaybackCompletionState) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Called when the Video Ad is compled.
onAdExpanded(AdView) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad expands due to user interaction.
onAdFailed(ResultCode) - Method in interface com.appnexus.opensdk.NativeAdRequestListener
Called when a native ad call has failed
onAdLoaded(AdView) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad has successfully been loaded from the server.
onAdLoaded(NativeAdResponse) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad has successfully been loaded from the server.
onAdLoaded(VideoAd) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdLoadListener
Called when an ad has successfully been loaded from the server.
onAdLoaded(NativeAdResponse) - Method in interface com.appnexus.opensdk.NativeAdRequestListener
Called when a native ad has successfully loaded.
onAdMuted(VideoAd, boolean) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Ad video has requested to mute or unmute audio.
onAdPlaying(VideoAd) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Called when the ad play starts.
onAdRequestFailed(AdView, ResultCode) - Method in interface com.appnexus.opensdk.AdListener
Called when an ad request has failed.
onAdRequestFailed(VideoAd, ResultCode) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdLoadListener
Called when an ad request has failed.
onAdWasClicked() - Method in interface com.appnexus.opensdk.NativeAdEventListener
 
onAdWasClicked(String, String) - Method in interface com.appnexus.opensdk.NativeAdEventListener
 
onAdWillLeaveApplication() - Method in interface com.appnexus.opensdk.NativeAdEventListener
 
onAppEvent(AdView, String, String) - Method in interface com.appnexus.opensdk.AppEventListener
Called when the ad has sent the app an event via the AppNexus Javascript API for Mobile call 'anjam.DispatchAppEvent(name, data);' A simple example:
onLayout(boolean, int, int, int, int) - Method in class com.appnexus.opensdk.BannerAdView
 
onQuartile(VideoAd, Quartile) - Method in interface com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener
Called when a Quartile tracker is fired.
onResult(int) - Method in interface com.appnexus.opensdk.instreamvideo.ResultCallback
Invoked when the result is available.

P

playAd(FrameLayout) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Call this by passing a Container(FrameLayout) when you want the VideoAd to Play.
playAd(RelativeLayout) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Call this by passing a Container(RelativeLayout) when you want the VideoAd to Play.

Q

Quartile - Enum in com.appnexus.opensdk.instreamvideo
Quartile types.

R

Rating(double, double) - Constructor for class com.appnexus.opensdk.NativeAdResponse.Rating
 
registerTracking(NativeAdResponse, View, NativeAdEventListener) - Static method in class com.appnexus.opensdk.NativeAdSDK
Register the developer view that will track impressions and respond to clicks for the native ad.
registerTracking(NativeAdResponse, View, List<View>, NativeAdEventListener) - Static method in class com.appnexus.opensdk.NativeAdSDK
Register a list developer views that will track impressions and respond to clicks for the native ad.
registerView(View, NativeAdEventListener) - Method in interface com.appnexus.opensdk.NativeAdResponse
Register view for tracking
registerViewList(View, List<View>, NativeAdEventListener) - Method in interface com.appnexus.opensdk.NativeAdResponse
Register a list of clickable views for tracking
removeAd() - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Call this to remove the video ad view from the container.
removeCustomKeyword(String) - Method in class com.appnexus.opensdk.AdView
Remove a custom keyword from the request URL for the ad.
removeCustomKeyword(String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Remove a custom keyword from the request URL for the ad.
removeCustomKeyword(String) - Method in class com.appnexus.opensdk.NativeAdRequest
Remove a custom keyword from the request URL for the ad.
requestAd(MediatedBannerAdViewController, Activity, String, String, int, int, TargetingParameters) - Method in interface com.appnexus.opensdk.MediatedBannerAdView
The AppNexus SDK will call this method to ask the third-party SDK to request an ad from its network.
requestAd(MediatedInterstitialAdViewController, Activity, String, String, TargetingParameters) - Method in interface com.appnexus.opensdk.MediatedInterstitialAdView
The AppNexus SDK will call this method in your class when directed to do so from the Ad Network Manager, where an application has instantiated an InterstitialAdView.
requestNativeAd(Context, String, String, MediatedNativeAdController, TargetingParameters) - Method in interface com.appnexus.opensdk.MediatedNativeAd
The AppNexus SDK will call this method to ask the third-party SDK to request an ad from its network.
reset(Context) - Static method in class com.appnexus.opensdk.ANGDPRSettings
Clears the value that were previously set using ANGDPRSettings.setConsentString and ANGDPRSettings.setConsentRequired
ResultCallback - Interface in com.appnexus.opensdk.instreamvideo
A callback interface used to provide values asynchronously.
ResultCode - Enum in com.appnexus.opensdk
This enum contains the result codes sent to the onAdRequestFailed method in AdListener, except for SUCCESS.

S

SDKSettings - Class in com.appnexus.opensdk
Global static functions that apply to all SDK views and calls.
setAAID(String, boolean) - Static method in class com.appnexus.opensdk.SDKSettings
Sets the Android Advertising ID to be passed in the ad request.
setAdAlignment(BannerAdView.AdAlignment) - Method in class com.appnexus.opensdk.BannerAdView
Sets the alignment of ads inside the BannerAdView, which can be set to 9 different positions.
setAdListener(AdListener) - Method in class com.appnexus.opensdk.AdView
Sets the currently installed listener that the SDK will send events to.
setAdLoadListener(VideoAdLoadListener) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Register a listener for ad success/fail to load notification events
setAdMaxDuration(int) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
use this to set the max duration for the video tag
setAdMinDuration(int) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
use this to set the min duration for the video tag
setAdSize(int, int) - Method in class com.appnexus.opensdk.BannerAdView
Set the size of the ad to request.
setAdSizes(ArrayList<AdSize>) - Method in class com.appnexus.opensdk.BannerAdView
Set the AdSizes which are allowed to be displayed.
setAge(String) - Method in class com.appnexus.opensdk.AdView
Set the current user's age.
setAge(String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Set the age or age range of the user
setAge(String) - Method in class com.appnexus.opensdk.NativeAdRequest
Set the age or age range of the user
setAllowedSizes(ArrayList<AdSize>) - Method in class com.appnexus.opensdk.InterstitialAdView
Set the ad AdSizes which are allowed to be displayed.
setAllowNativeDemand(boolean) - Method in class com.appnexus.opensdk.BannerAdView
Sets whether or not Native Ads(AppNexus Media Type:12) can serve on this Ad object.
setAllowVideoDemand(boolean) - Method in class com.appnexus.opensdk.BannerAdView
Sets whether or not Video Ads(AppNexus Media Type:4) can serve on this Ad object.
setAppEventListener(AppEventListener) - Method in class com.appnexus.opensdk.AdView
Sets the currently installed app event listener that the SDK will send custom events to.
setAutoRefreshInterval(int) - Method in class com.appnexus.opensdk.BannerAdView
Set the auto-refresh interval.
setBackgroundColor(int) - Method in class com.appnexus.opensdk.InterstitialAdView
Sets the background color to use behind the interstitial ad.
setClickThroughAction(ANClickThroughAction) - Method in class com.appnexus.opensdk.AdView
Determines what action to take when the user clicks on an ad.
setClickThroughAction(ANClickThroughAction) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Determines what action to take when the user clicks on an ad.
setClickThroughAction(ANClickThroughAction) - Method in class com.appnexus.opensdk.NativeAdRequest
Determines what action to take when the user clicks on an ad.
setCloseButtonDelay(int) - Method in class com.appnexus.opensdk.InterstitialAdView
Set the delay between when an interstitial ad is displayed and when the close button appears to the user.
setConsentRequired(Context, boolean) - Static method in class com.appnexus.opensdk.ANGDPRSettings
Set the consentRequired value in the SDK
setConsentString(Context, String) - Static method in class com.appnexus.opensdk.ANGDPRSettings
Set the consent string in the SDK
setCreativeId(String) - Method in interface com.appnexus.opensdk.NativeAdResponse
Set the creative Id
setDismissOnClick(boolean) - Method in class com.appnexus.opensdk.InterstitialAdView
 
setExpandsToFitScreenWidth(boolean) - Method in class com.appnexus.opensdk.BannerAdView
Set whether ads will expand to fit the screen width.
setExternalUid(String) - Method in class com.appnexus.opensdk.AdView
Set the current user's externalUID
setExternalUid(String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Set the current user's externalUID
setExternalUid(String) - Method in class com.appnexus.opensdk.NativeAdRequest
Set the current user's externalUID
setGender(AdView.GENDER) - Method in class com.appnexus.opensdk.AdView
Set the user's gender.
setGender(AdView.GENDER) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Set user's gender for targeting
setGender(AdView.GENDER) - Method in class com.appnexus.opensdk.NativeAdRequest
Set user's gender for targeting
setIcon(Bitmap) - Method in interface com.appnexus.opensdk.NativeAdResponse
Set the icon image resource
setImage(Bitmap) - Method in interface com.appnexus.opensdk.NativeAdResponse
Set the main image resource
setInventoryCodeAndMemberID(int, String) - Method in class com.appnexus.opensdk.AdView
Sets the inventory code and member id of the AdView.
setInventoryCodeAndMemberID(int, String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Sets the inventory code and member id of this Video ad request.
setInventoryCodeAndMemberID(int, String) - Method in class com.appnexus.opensdk.NativeAdRequest
Sets the inventory code and member id of this native ad request.
setListener(NativeAdRequestListener) - Method in class com.appnexus.opensdk.NativeAdRequest
Register a listener for ad success/fail to load notification events
setLoadsInBackground(boolean) - Method in class com.appnexus.opensdk.AdView
Sets whether or not to load landing pages in the background before displaying them.
setLoadsInBackground(boolean) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Sets whether or not to load landing pages in the background before displaying them.
setLoadsInBackground(boolean) - Method in class com.appnexus.opensdk.NativeAdRequest
Sets whether or not to load landing pages in the background before displaying them.
setLocation(Location) - Static method in class com.appnexus.opensdk.SDKSettings
Overrides the SDKs automatic location retrieval.
setLocationDecimalDigits(int) - Static method in class com.appnexus.opensdk.SDKSettings
Sets the number of digits after the decimal of the latitude and longitude.
setLocationEnabled(boolean) - Static method in class com.appnexus.opensdk.SDKSettings
Sets whether or not location (latitude, longitude) is retrieved and passed in the ad request.
setLocationEnabledForCreative(boolean) - Static method in class com.appnexus.opensdk.SDKSettings
Sets whether or not location (latitude, longitude) permission alert will be shown to the user when called by the Creative.
setMaxSize(int, int) - Method in class com.appnexus.opensdk.BannerAdView
Set the maximum size of the desired ad.
setOpensNativeBrowser(boolean) - Method in class com.appnexus.opensdk.AdView
Deprecated.
Use setClickThroughAction instead Refer ANClickThroughAction
setOpensNativeBrowser(boolean) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Deprecated.
Use setClickThroughAction instead Refer ANClickThroughAction
setOpensNativeBrowser(boolean) - Method in class com.appnexus.opensdk.NativeAdRequest
Deprecated.
Use setClickThroughAction instead Refer ANClickThroughAction
setPlacementID(String) - Method in class com.appnexus.opensdk.AdView
Sets the placement id of the AdView.
setPlacementID(String) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Sets the placement id of the VideoAd.
setPlacementID(String) - Method in class com.appnexus.opensdk.NativeAdRequest
Sets the placement id of the NativeAdRequest.
setReserve(float) - Method in class com.appnexus.opensdk.AdView
Set a reserve price.
setResizeAdToFitContainer(boolean) - Method in class com.appnexus.opensdk.BannerAdView
Set whether ads will expand to fit the BannerAdView.
setShouldReloadOnResume(boolean) - Method in class com.appnexus.opensdk.BannerAdView
Set whether or not this view should load a new ad if the user resumes use of the app from a screenlock or multitask.
setShouldServePSAs(boolean) - Method in class com.appnexus.opensdk.AdView
Allows overriding the platform behavior in the case there is no ad currently available.
setShowLoadingIndicator(boolean) - Method in class com.appnexus.opensdk.AdView
Set whether or not the banner or interstitial should show the loading indicator after being pressed, but before able to launch the browser.
setShowLoadingIndicator(boolean) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Set whether or not the Video Ad should show the loading indicator after being pressed, but before able to launch the browser.
setTransitionDirection(TransitionDirection) - Method in class com.appnexus.opensdk.BannerAdView
Set the transition animation's direction
setTransitionDuration(long) - Method in class com.appnexus.opensdk.BannerAdView
Set the transition animation's duration
setTransitionType(TransitionType) - Method in class com.appnexus.opensdk.BannerAdView
Set the transition animation's type
setVideoPlaybackListener(VideoAdPlaybackListener) - Method in class com.appnexus.opensdk.instreamvideo.VideoAd
Register a videoPlaybackListener for Video Events callback like Quartiles/Play/Pause/Completed.
shouldDismissOnClick() - Method in class com.appnexus.opensdk.InterstitialAdView
 
shouldLoadIcon(boolean) - Method in class com.appnexus.opensdk.NativeAdRequest
Call to override the icon resource auto download feature.
shouldLoadImage(boolean) - Method in class com.appnexus.opensdk.NativeAdRequest
Call to override the image resource auto download feature.
show() - Method in class com.appnexus.opensdk.InterstitialAdView
Pops interstitial ads from the queue until it finds one that has not exceeded the 60 second timeout, and displays it in a new activity.
show() - Method in interface com.appnexus.opensdk.MediatedInterstitialAdView
The AppNexus SDK will call this method to show the interstitial view when the user has called InterstitialAdView.show().
showWithAutoDismissDelay(int) - Method in class com.appnexus.opensdk.InterstitialAdView
Pops interstitial ads from the queue until it finds one that has not exceeded the 60 second timeout, and displays it in a new activity.

T

TargetingParameters - Class in com.appnexus.opensdk
An object of this type is sent to the third-party SDK's MediatedAdView object.
TargetingParameters(String, AdView.GENDER, ArrayList<Pair<String, String>>, Location, String) - Constructor for class com.appnexus.opensdk.TargetingParameters
 
TransitionDirection - Enum in com.appnexus.opensdk.transitionanimation
 
TransitionType - Enum in com.appnexus.opensdk.transitionanimation
 

U

unRegisterTracking(View) - Static method in class com.appnexus.opensdk.NativeAdSDK
Called when you are finished with the views for the response or wish to reuse the view object(s) for a new NativeAdResponse.
unregisterViews() - Method in interface com.appnexus.opensdk.NativeAdResponse
Unregister views for this response This will be destroyed once views are unregistered
useHttps(boolean) - Static method in class com.appnexus.opensdk.SDKSettings
Enable HTTPS in the SDK if set to true.

V

valueOf(String) - Static method in enum com.appnexus.opensdk.AdType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.AdView.GENDER
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.ANClickThroughAction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.BannerAdView.AdAlignment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.instreamvideo.Quartile
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener.PlaybackCompletionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.NativeAdResponse.Network
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.ResultCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionDirection
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.appnexus.opensdk.AdType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.AdView.GENDER
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.ANClickThroughAction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.BannerAdView.AdAlignment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.instreamvideo.Quartile
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.instreamvideo.VideoAdPlaybackListener.PlaybackCompletionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.NativeAdResponse.Network
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionDirection
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.appnexus.opensdk.transitionanimation.TransitionType
Returns an array containing the constants of this enum type, in the order they are declared.
VideoAd - Class in com.appnexus.opensdk.instreamvideo
 
VideoAd(Context, String) - Constructor for class com.appnexus.opensdk.instreamvideo.VideoAd
 
VideoAd(Context, String, int) - Constructor for class com.appnexus.opensdk.instreamvideo.VideoAd
 
VideoAdLoadListener - Interface in com.appnexus.opensdk.instreamvideo
 
VideoAdPlaybackListener - Interface in com.appnexus.opensdk.instreamvideo
 
VideoAdPlaybackListener.PlaybackCompletionState - Enum in com.appnexus.opensdk.instreamvideo
Video Completion states.

W

width() - Method in class com.appnexus.opensdk.AdSize
 
A B C D F G H I L M N O P Q R S T U V W 

  • No labels