A B C D E F G H I L M N O P R S U V W 

A

AbstractAdListener - Class in com.facebook.ads
AbstractAdListener implements AdListener, InterstitialAdListener and ImpressionListener.
AbstractAdListener() - Constructor for class com.facebook.ads.AbstractAdListener
 
Ad - Interface in com.facebook.ads
Ad interface is a common interface implemented by all Facebook ad controls.
AdChoicesView - Class in com.facebook.ads
An expandable, clickable ad choices icon.
AdChoicesView(Context, NativeAd) - Constructor for class com.facebook.ads.AdChoicesView
 
AdChoicesView(Context, NativeAd, boolean) - Constructor for class com.facebook.ads.AdChoicesView
Ad choices view that animates a text link to the ad choices url when tapped.
addBackButtonInterceptor(AudienceNetworkActivity.BackButtonInterceptor) - Method in class com.facebook.ads.AudienceNetworkActivity
 
addTestDevice(String) - Static method in class com.facebook.ads.AdSettings
Adds a test device.
addTestDevices(Collection<String>) - Static method in class com.facebook.ads.AdSettings
Adds a collection of test devices.
AdError - Class in com.facebook.ads
AdError contains the error information returned by Facebook.
AdError(int, String) - Constructor for class com.facebook.ads.AdError
Constructs an AdError using the given error code and error message
AdListener - Interface in com.facebook.ads
AdListener interface is notified of events in ad control lifecycle.
AdNetwork - Enum in com.facebook.ads
 
AdSettings - Class in com.facebook.ads
AdSettings contains global settings for all ad controls.
AdSettings() - Constructor for class com.facebook.ads.AdSettings
 
AdSize - Class in com.facebook.ads
AdSize is the dimension of the ad control.
AdSize(int, int) - Constructor for class com.facebook.ads.AdSize
 
AdView - Class in com.facebook.ads
AdView displays advertisements by Facebook.
AdView(Context, String, AdSize) - Constructor for class com.facebook.ads.AdView
Constructs an AdView using the given context, placement_id and size.
ALL - Static variable in enum com.facebook.ads.NativeAd.MediaCacheFlag
 
AUDIENCE_NETWORK_UNIQUE_ID_EXTRA - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
AudienceNetworkActivity - Class in com.facebook.ads
AudienceNetworkActivity is the Android activity for displaying and handling ads.
AudienceNetworkActivity() - Constructor for class com.facebook.ads.AudienceNetworkActivity
 
AudienceNetworkActivity.BackButtonInterceptor - Interface in com.facebook.ads
 
AudienceNetworkActivity.Type - Enum in com.facebook.ads
 
AUTOPLAY - Static variable in class com.facebook.ads.AudienceNetworkActivity
 

B

BANNER_320_50 - Static variable in class com.facebook.ads.AdSize
Deprecated.
BANNER_HEIGHT_50 - Static variable in class com.facebook.ads.AdSize
Represents a flexible banner ad size, where banner width depends on its container width, and banner height is fixed as 50dp.
BANNER_HEIGHT_90 - Static variable in class com.facebook.ads.AdSize
Represents a flexible banner ad size, where banner width depends on its container width, and banner height is fixed as 90dp.
BROWSER_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 

C

clearTestDevices() - Static method in class com.facebook.ads.AdSettings
Clears the collection of test devices.
CLIENT_TOKEN - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
CLOSE_REPORT_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
com.facebook.ads - package com.facebook.ads
 
com.facebook.ads.adapters - package com.facebook.ads.adapters
 
CONTEXT_SWITCH_BEHAVIOR - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
createView(NativeAd, int) - Method in interface com.facebook.ads.NativeAdScrollView.AdViewProvider
 

D

DEBUG - Static variable in class com.facebook.ads.AdSettings
 
DEFAULT_INSET - Static variable in class com.facebook.ads.NativeAdScrollView
 
DEFAULT_MAX_ADS - Static variable in class com.facebook.ads.NativeAdScrollView
 
destroy() - Method in interface com.facebook.ads.Ad
Destroys the ad control.
destroy() - Method in class com.facebook.ads.AdView
 
destroy() - Method in class com.facebook.ads.InstreamVideoAdView
 
destroy() - Method in class com.facebook.ads.InterstitialAd
 
destroy() - Method in class com.facebook.ads.NativeAd
 
destroy() - Method in class com.facebook.ads.RewardedVideoAd
 
destroyView(NativeAd, View) - Method in interface com.facebook.ads.NativeAdScrollView.AdViewProvider
 
disableAutoRefresh() - Method in class com.facebook.ads.AdView
Disables auto refresh.
disableAutoRefresh() - Method in class com.facebook.ads.NativeAdsManager
 
downloadAndDisplayImage(NativeAd.Image, ImageView) - Static method in class com.facebook.ads.NativeAd
Downloads the given Image and displays it in the given ImageView.

E

END_CARD_ACTIVATION_COMMAND - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
END_CARD_MARKUP - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
equals(Object) - Method in class com.facebook.ads.AdSize
 

F

fromJSONObject(JSONObject) - Static method in class com.facebook.ads.NativeAd.Image
Parses an Image from the given JSON object.
fromJSONObject(JSONObject) - Static method in class com.facebook.ads.NativeAd.Rating
Parses a Rating from the given JSON object.
fromWidthAndHeight(int, int) - Static method in class com.facebook.ads.AdSize
 

G

getAdBody() - Method in class com.facebook.ads.NativeAd
Gets the body, usually a longer description of the ad.
getAdCallToAction() - Method in class com.facebook.ads.NativeAd
Gets the call to action phrase.
getAdChoicesIcon() - Method in class com.facebook.ads.NativeAd
 
getAdChoicesLinkUrl() - Method in class com.facebook.ads.NativeAd
 
getAdCoverImage() - Method in class com.facebook.ads.NativeAd
Gets the cover image creative.
getAdIcon() - Method in class com.facebook.ads.NativeAd
Gets the icon creative.
getAdNetwork() - Method in class com.facebook.ads.NativeAd
Returns the enum for the ad network from which the ad has been loaded.
getAdProvider() - Method in class com.facebook.ads.MediaView
 
getAdSocialContext() - Method in class com.facebook.ads.NativeAd
Gets the social context.
getAdStarRating() - Method in class com.facebook.ads.NativeAd
Deprecated.
Star rating is deprecated.
getAdSubtitle() - Method in class com.facebook.ads.NativeAd
Gets the subtitle.
getAdTitle() - Method in class com.facebook.ads.NativeAd
Gets the title.
getAdViewAttributes() - Method in class com.facebook.ads.NativeAd
Gets the ad configuration settings.
getAutoplay() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getAutoplayOnMobile() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getBackgroundColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getButtonBorderColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getButtonColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getButtonTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getCacheFlagValue() - Method in enum com.facebook.ads.NativeAd.MediaCacheFlag
 
getCurrency() - Method in class com.facebook.ads.RewardData
 
getDescriptionTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getDescriptionTextSize() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getErrorCode() - Method in class com.facebook.ads.AdError
Gets the error code
getErrorMessage() - Method in class com.facebook.ads.AdError
Gets the error message
getHeight() - Method in class com.facebook.ads.AdSize
Gets the height of the ad control.
getHeight() - Method in class com.facebook.ads.NativeAd.Image
Gets the height of the image.
getHeight() - Method in enum com.facebook.ads.NativeAdView.Type
Gets the height of the ad control.
getId() - Method in class com.facebook.ads.NativeAd
Gets a unique ID for the NativeAd.
getMediationService() - Static method in class com.facebook.ads.AdSettings
Returns the name of the mediation service that is mediating Audience Network
getPlacementId() - Method in interface com.facebook.ads.Ad
Get the placementId for this ad.
getPlacementId() - Method in class com.facebook.ads.AdView
 
getPlacementId() - Method in class com.facebook.ads.InstreamVideoAdView
 
getPlacementId() - Method in class com.facebook.ads.InterstitialAd
 
getPlacementId() - Method in class com.facebook.ads.NativeAd
 
getPlacementId() - Method in class com.facebook.ads.RewardedVideoAd
 
getSaveInstanceState() - Method in class com.facebook.ads.InstreamVideoAdView
 
getScale() - Method in class com.facebook.ads.NativeAd.Rating
Gets the rating scale.
getTitleTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getTitleTextSize() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getTypeface() - Method in class com.facebook.ads.NativeAdViewAttributes
 
getUniqueNativeAdCount() - Method in class com.facebook.ads.NativeAdsManager
 
getUrl() - Method in class com.facebook.ads.NativeAd.Image
Gets the url of the image.
getUrlPrefix() - Static method in class com.facebook.ads.AdSettings
Gets the url prefix.
getUserID() - Method in class com.facebook.ads.RewardData
 
getValue() - Method in class com.facebook.ads.NativeAd.Rating
Gets the rating value.
getValue() - Method in enum com.facebook.ads.NativeAdView.Type
 
getWidth() - Method in class com.facebook.ads.AdSize
Gets the width of the ad control.
getWidth() - Method in class com.facebook.ads.NativeAd.Image
Gets the width of the image.
getWidth() - Method in enum com.facebook.ads.NativeAdView.Type
Gets the width of the ad control.

H

HANDLER_TIME - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
hashCode() - Method in class com.facebook.ads.AdSize
 

I

IMPRESSION_REPORT_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
ImpressionListener - Interface in com.facebook.ads
Deprecated.
See AbstractAdListener ImpressionListener interface is notified of impression events in ad control lifecycle.
InstreamVideoAdAdapter - Class in com.facebook.ads.adapters
 
InstreamVideoAdAdapter(Context, InstreamVideoAdapterListener, JSONObject) - Constructor for class com.facebook.ads.adapters.InstreamVideoAdAdapter
 
InstreamVideoAdapterListener - Interface in com.facebook.ads.adapters
Listener used by InstreamVideoAdapter.
InstreamVideoAdListener - Interface in com.facebook.ads
InstreamVideoAdListener interface is notified of events in InstreamVideoAdView lifecycle.
InstreamVideoAdView - Class in com.facebook.ads
InstreamVideoAd displays a Instream video advertisement by Facebook

To use the Instream video, do the following:

InstreamVideoAdView(Context, Bundle) - Constructor for class com.facebook.ads.InstreamVideoAdView
 
InstreamVideoAdView(Context, String, AdSize) - Constructor for class com.facebook.ads.InstreamVideoAdView
Constructs a InstreamVideoAdView given the context and the placement id
interceptBackButton() - Method in interface com.facebook.ads.AudienceNetworkActivity.BackButtonInterceptor
 
INTERNAL_ERROR - Static variable in class com.facebook.ads.AdError
 
INTERNAL_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
INTERSTITIAL - Static variable in class com.facebook.ads.AdSize
A full screen interstitial size.
InterstitialAd - Class in com.facebook.ads
InterstitialAd displays an advertisement by Facebook in an interstitial.
InterstitialAd(Context, String) - Constructor for class com.facebook.ads.InterstitialAd
Constructs an InterstitialAd using the given context and placement id.
InterstitialAdActivity - Class in com.facebook.ads
Deprecated.
as of 4.16 Audience Network SDK, replaced by AudienceNetworkActivity. InterstitialAdActivity was created to support fullscreen Interstitial ads but has since been repurposed for other needs to avoid additional manifest requirements. This class is provided for backwards compatibility only. You should use AudienceNetworkActivity in your manifest.
InterstitialAdActivity() - Constructor for class com.facebook.ads.InterstitialAdActivity
Deprecated.
 
InterstitialAdListener - Interface in com.facebook.ads
InterstitialAdListener interface is notified of events in InterstitialAd lifecycle.
isAdLoaded() - Method in class com.facebook.ads.InstreamVideoAdView
Tells whether an ad is loaded and ready to show
isAdLoaded() - Method in class com.facebook.ads.InterstitialAd
Gets whether an ad is loaded and ready to show.
isAdLoaded() - Method in class com.facebook.ads.NativeAd
Gets whether an ad is loaded and ready to show.
isAdLoaded() - Method in class com.facebook.ads.RewardedVideoAd
Tells whether an ad is loaded and ready to show
isAutoplay() - Method in class com.facebook.ads.MediaView
Deprecated.
Video autoplay control will be moved to the server side. This API will be removed in future SDK versions.
isChildDirected() - Static method in class com.facebook.ads.AdSettings
Gets whether the ad control is targeting a child.
isLoaded() - Method in class com.facebook.ads.NativeAdsManager
 
isNativeConfigEnabled() - Method in class com.facebook.ads.NativeAd
Gets whether ad config settings are enabled or not
isTestMode(Context) - Static method in class com.facebook.ads.AdSettings
Gets whether ad controls are working in test mode.
isVideoAutoplay() - Static method in class com.facebook.ads.AdSettings
Gets whether video autoplay is enabled
isVideoAutoplayOnMobile() - Static method in class com.facebook.ads.AdSettings
Gets whether video autoplay is only enabled on Wifi or not

L

LOAD_TOO_FREQUENTLY - Static variable in class com.facebook.ads.AdError
 
LOAD_TOO_FREQUENTLY_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
loadAd() - Method in interface com.facebook.ads.Ad
Loads an ad.
loadAd() - Method in class com.facebook.ads.AdView
Loads an ad.
loadAd() - Method in class com.facebook.ads.InstreamVideoAdView
 
loadAd() - Method in class com.facebook.ads.InterstitialAd
 
loadAd() - Method in class com.facebook.ads.NativeAd
 
loadAd(EnumSet<NativeAd.MediaCacheFlag>) - Method in class com.facebook.ads.NativeAd
 
loadAd() - Method in class com.facebook.ads.RewardedVideoAd
 
loadAds() - Method in class com.facebook.ads.NativeAdsManager
 
loadAds(EnumSet<NativeAd.MediaCacheFlag>) - Method in class com.facebook.ads.NativeAdsManager
 

M

MEDIATION_ERROR - Static variable in class com.facebook.ads.AdError
 
MEDIATION_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
MediaView - Class in com.facebook.ads
Mediaview displays native ad media content.
MediaView(Context, AttributeSet) - Constructor for class com.facebook.ads.MediaView
 
MediaView(Context) - Constructor for class com.facebook.ads.MediaView
 
MediaViewListener - Interface in com.facebook.ads
MediaViewListener interface is notified of events in MediaView lifecycle.
MISSING_PROPERTIES - Static variable in class com.facebook.ads.AdError
Deprecated.

N

NativeAd - Class in com.facebook.ads
NativeAd provides ad creative for apps to rendered in custom layout.
NativeAd(Context, String) - Constructor for class com.facebook.ads.NativeAd
Constructs an NativeAd using the given context and placement id.
NativeAd(Context, NativeAdapter, AdPlacementDefinition) - Constructor for class com.facebook.ads.NativeAd
 
NativeAd.Image - Class in com.facebook.ads
Image creative.
NativeAd.Image(String, int, int) - Constructor for class com.facebook.ads.NativeAd.Image
 
NativeAd.MediaCacheFlag - Enum in com.facebook.ads
Media Cache flag
NativeAd.Rating - Class in com.facebook.ads
Rating info.
NativeAd.Rating(double, double) - Constructor for class com.facebook.ads.NativeAd.Rating
 
NativeAdScrollView - Class in com.facebook.ads
NativeAdScrollView provides a horizontal scrolling experience hosting either NativeAdViews or custom views.
NativeAdScrollView(Context, NativeAdsManager, NativeAdScrollView.AdViewProvider) - Constructor for class com.facebook.ads.NativeAdScrollView
 
NativeAdScrollView(Context, NativeAdsManager, NativeAdScrollView.AdViewProvider, int) - Constructor for class com.facebook.ads.NativeAdScrollView
 
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type) - Constructor for class com.facebook.ads.NativeAdScrollView
 
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type, NativeAdViewAttributes) - Constructor for class com.facebook.ads.NativeAdScrollView
 
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type, NativeAdViewAttributes, int) - Constructor for class com.facebook.ads.NativeAdScrollView
 
NativeAdScrollView.AdViewProvider - Interface in com.facebook.ads
 
NativeAdsManager - Class in com.facebook.ads
The NativeAdsManager provides a mechanism to fetch a set of NativeAds and then use them within your application.
NativeAdsManager(Context, String, int) - Constructor for class com.facebook.ads.NativeAdsManager
 
NativeAdsManager.Listener - Interface in com.facebook.ads
 
NativeAdView - Class in com.facebook.ads
NativeAdView provides a templated view for a NativeAd with flexible width and height determined by NativeAdView.Type.
NativeAdView() - Constructor for class com.facebook.ads.NativeAdView
 
NativeAdView.Type - Enum in com.facebook.ads
 
NativeAdViewAttributes - Class in com.facebook.ads
NativeAdViewAttributes controls layout and display elements of the NativeAdView.
NativeAdViewAttributes() - Constructor for class com.facebook.ads.NativeAdViewAttributes
 
NativeAdViewAttributes(JSONObject) - Constructor for class com.facebook.ads.NativeAdViewAttributes
 
NETWORK_ERROR - Static variable in class com.facebook.ads.AdError
 
NETWORK_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
nextNativeAd() - Method in class com.facebook.ads.NativeAdsManager
 
NO_FILL - Static variable in class com.facebook.ads.AdError
 
NO_FILL_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 

O

onAdClicked(Ad) - Method in class com.facebook.ads.AbstractAdListener
Called when the ad control is clicked and user is redirected to the link in the ad.
onAdClicked(Ad) - Method in interface com.facebook.ads.AdListener
Called when the ad control is clicked and user is redirected to the link in the ad.
onAdError(AdError) - Method in interface com.facebook.ads.NativeAdsManager.Listener
 
onAdLoaded(Ad) - Method in class com.facebook.ads.AbstractAdListener
Called when the ad control has loaded an ad.
onAdLoaded(Ad) - Method in interface com.facebook.ads.AdListener
Called when the ad control has loaded an ad.
onAdsLoaded() - Method in interface com.facebook.ads.NativeAdsManager.Listener
 
onAdVideoComplete(Ad) - Method in interface com.facebook.ads.InstreamVideoAdListener
 
onBackPressed() - Method in class com.facebook.ads.AudienceNetworkActivity
 
onComplete(MediaView) - Method in interface com.facebook.ads.MediaViewListener
 
onConfigurationChanged(Configuration) - Method in class com.facebook.ads.AdView
 
onConfigurationChanged(Configuration) - Method in class com.facebook.ads.AudienceNetworkActivity
 
onCreate(Bundle) - Method in class com.facebook.ads.AudienceNetworkActivity
 
onDestroy() - Method in class com.facebook.ads.AudienceNetworkActivity
 
onEnterFullscreen(MediaView) - Method in interface com.facebook.ads.MediaViewListener
 
onError(Ad, AdError) - Method in class com.facebook.ads.AbstractAdListener
Called when an error happened while the ad control is attempting to load an ad.
onError(Ad, AdError) - Method in interface com.facebook.ads.AdListener
Called when an error happened while the ad control is attempting to load an ad.
onExitFullscreen(MediaView) - Method in interface com.facebook.ads.MediaViewListener
 
onInstreamVideoAdClicked(InstreamVideoAdapter) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInstreamVideoAdLoaded(InstreamVideoAdapter) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInstreamVideoAdLoggingImpression(InstreamVideoAdapter) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInstreamVideoAdViewComplete(InstreamVideoAdapter) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInstreamVideoAdViewPresented(InstreamVideoAdapter, View) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInstreamVideoError(InstreamVideoAdapter, AdError) - Method in interface com.facebook.ads.adapters.InstreamVideoAdapterListener
 
onInterstitialDismissed(Ad) - Method in class com.facebook.ads.AbstractAdListener
Called when the interstitial ad control is dismissed.
onInterstitialDismissed(Ad) - Method in interface com.facebook.ads.InterstitialAdListener
Called when the interstitial ad control is dismissed.
onInterstitialDisplayed(Ad) - Method in class com.facebook.ads.AbstractAdListener
Called when the interstitial ad control is displayed.
onInterstitialDisplayed(Ad) - Method in interface com.facebook.ads.InterstitialAdListener
Called when the interstitial ad control is displayed.
onLoggingImpression(Ad) - Method in class com.facebook.ads.AbstractAdListener
Called immediately before an impression is logged.
onLoggingImpression(Ad) - Method in interface com.facebook.ads.ImpressionListener
Deprecated.
Called immediately before an impression is logged.
onLoggingImpression(Ad) - Method in interface com.facebook.ads.RewardedVideoAdListener
 
onPause() - Method in class com.facebook.ads.AudienceNetworkActivity
 
onPause(MediaView) - Method in interface com.facebook.ads.MediaViewListener
 
onPlay(MediaView) - Method in interface com.facebook.ads.MediaViewListener
 
onResume() - Method in class com.facebook.ads.AudienceNetworkActivity
 
onRewardedVideoClosed() - Method in interface com.facebook.ads.RewardedVideoAdListener
 
onRewardedVideoCompleted() - Method in interface com.facebook.ads.RewardedVideoAdListener
 
onRewardServerFailed() - Method in interface com.facebook.ads.S2SRewardedVideoAdListener
 
onRewardServerSuccess() - Method in interface com.facebook.ads.S2SRewardedVideoAdListener
 
onSaveInstanceState(Bundle) - Method in class com.facebook.ads.AudienceNetworkActivity
 
onStart() - Method in class com.facebook.ads.AudienceNetworkActivity
 
onVolumeChange(MediaView, float) - Method in interface com.facebook.ads.MediaViewListener
 
onWindowVisibilityChanged(int) - Method in class com.facebook.ads.AdView
 

P

PREDEFINED_ORIENTATION_KEY - Static variable in class com.facebook.ads.AudienceNetworkActivity
 

R

RECTANGLE_HEIGHT_250 - Static variable in class com.facebook.ads.AdSize
Represents a flexible rectangle ad size, where width depends on its container width, and height is fixed as 250dp.
registerViewForInteraction(View) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, List<View>) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container for this NativeAd to handle impressions and clicks.
removeBackButtonInterceptor(AudienceNetworkActivity.BackButtonInterceptor) - Method in class com.facebook.ads.AudienceNetworkActivity
 
render(Context, NativeAd, NativeAdView.Type) - Static method in class com.facebook.ads.NativeAdView
 
render(Context, NativeAd, NativeAdView.Type, NativeAdViewAttributes) - Static method in class com.facebook.ads.NativeAdView
 
REWARD_SERVER_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
RewardData - Class in com.facebook.ads
RewardData represents the data used to reward the user in RewardedVideoAd
RewardData(String, String) - Constructor for class com.facebook.ads.RewardData
 
RewardedVideoAd - Class in com.facebook.ads
RewardedVideoAd displays a rewarded video advertisement by Facebook

To use the rewarded video, do the following:

RewardedVideoAd(Context, String) - Constructor for class com.facebook.ads.RewardedVideoAd
Constructs a RewardedVideoAd given the context and the placement id
RewardedVideoAdListener - Interface in com.facebook.ads
RewardedVideoAdListener interface is notified of events in RewardedVideoAd lifecycle.

S

S2SRewardedVideoAdListener - Interface in com.facebook.ads
S2SRewardedVideoAdListener interface is notified of events in RewardedVideoAd lifecycle using severside validation
SERVER_ERROR - Static variable in class com.facebook.ads.AdError
 
SERVER_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
setAdListener(AdListener) - Method in class com.facebook.ads.AdView
Sets an AdListener to be notified on events in control lifecycle.
setAdListener(InstreamVideoAdListener) - Method in class com.facebook.ads.InstreamVideoAdView
Sets an InstreamVideoAdListener to be notified on events in control lifecycle.
setAdListener(InterstitialAdListener) - Method in class com.facebook.ads.InterstitialAd
Sets an InterstitialAdListener to be notified on events in control lifecycle.
setAdListener(AdListener) - Method in class com.facebook.ads.NativeAd
 
setAdListener(RewardedVideoAdListener) - Method in class com.facebook.ads.RewardedVideoAd
Sets an RewardedVideoAdListener to be notified on events in control lifecycle.
setAutoplay(boolean) - Method in class com.facebook.ads.MediaView
Deprecated.
Autoplay control will be moved to the server side. This API will be removed in future SDK versions.
setAutoplay(boolean) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setAutoplayOnMobile(boolean) - Method in class com.facebook.ads.MediaView
Deprecated.
Mobile autoplay control will be moved to the server side. This API will be removed in future SDK versions.
setAutoplayOnMobile(boolean) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setBackgroundColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setButtonBorderColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setButtonColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setButtonTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setDescriptionTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setImpressionListener(ImpressionListener) - Method in class com.facebook.ads.AdView
Deprecated.
See AbstractAdListener and AdView.setAdListener(com.facebook.ads.AdListener). Sets an ImpressionListener to be notified of impression events in ad control lifecycle.
setImpressionListener(ImpressionListener) - Method in class com.facebook.ads.InterstitialAd
Deprecated.
See AbstractAdListener and InterstitialAd.setAdListener(com.facebook.ads.InterstitialAdListener). Sets an ImpressionListener to be notified of impression events in ad control lifecycle.
setImpressionListener(ImpressionListener) - Method in class com.facebook.ads.NativeAd
Deprecated.
See AbstractAdListener and NativeAd.setAdListener(com.facebook.ads.AdListener). Sets an ImpressionListener to be notified of impression events in ad control lifecycle.
setInset(int) - Method in class com.facebook.ads.NativeAdScrollView
 
setIsChildDirected(boolean) - Static method in class com.facebook.ads.AdSettings
Sets whether the ad control is targeting a child.
setListener(MediaViewListener) - Method in class com.facebook.ads.MediaView
 
setListener(NativeAdsManager.Listener) - Method in class com.facebook.ads.NativeAdsManager
 
setMediationService(String) - Static method in class com.facebook.ads.AdSettings
Sets the name of the mediation service that is mediating Audience Network.
setMediaViewAutoplay(boolean) - Method in class com.facebook.ads.NativeAd
Deprecated.
Autoplay control will be moved to the server side. This API will be removed in future SDK versions.
setNativeAd(NativeAd) - Method in class com.facebook.ads.MediaView
 
setOnTouchListener(View.OnTouchListener) - Method in class com.facebook.ads.NativeAd
Sets an OnTouchListener to be notified of touch events on the ad unit.
setRewardData(RewardData) - Method in class com.facebook.ads.RewardedVideoAd
 
setTitleTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setTypeface(Typeface) - Method in class com.facebook.ads.NativeAdViewAttributes
 
setUrlPrefix(String) - Static method in class com.facebook.ads.AdSettings
Sets the url prefix to use when making requests.
setVideoAutoplay(boolean) - Static method in class com.facebook.ads.AdSettings
Sets the setting for video autoplay
setVideoAutoplayOnMobile(boolean) - Static method in class com.facebook.ads.AdSettings
Sets the setting for video autoplay on mobile networks
show() - Method in class com.facebook.ads.adapters.InstreamVideoAdAdapter
 
show() - Method in class com.facebook.ads.InstreamVideoAdView
Shows the Instream video ad

This method should only be called after InstreamVideoAdView.loadAd() is called and the ad listener has been notified ad has loaded

show() - Method in class com.facebook.ads.InterstitialAd
Shows the interstitial ad.
show() - Method in class com.facebook.ads.RewardedVideoAd
Shows the rewarded video ad

This method should only be called after RewardedVideoAd.loadAd() is called and the ad listener has been notified ad has loaded

SKIP_DELAY_SECONDS_KEY - Static variable in class com.facebook.ads.AudienceNetworkActivity
 

U

unregisterView() - Method in class com.facebook.ads.NativeAd
 

V

valueOf(String) - Static method in enum com.facebook.ads.AdNetwork
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.AudienceNetworkActivity.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAd.MediaCacheFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAdView.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.facebook.ads.AdNetwork
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.AudienceNetworkActivity.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.NativeAd.MediaCacheFlag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.NativeAdView.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO_LOGGER - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_MPD - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_PLAY_REPORT_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_REPORT_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_SEEK_TIME - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_TIME_REPORT_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIDEO_URL - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
VIEW_TYPE - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
viewIsRegisteredForInteraction(View) - Static method in class com.facebook.ads.NativeAd
 

W

WEBVIEW_ENCODING - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
WEBVIEW_MIME_TYPE - Static variable in class com.facebook.ads.AudienceNetworkActivity
 
A B C D E F G H I L M N O P R S U V W