Android SDK Version
- AbstractAdListener
- Ad
- Ad.LoadAdConfig
- Ad.LoadConfigBuilder
- AdError
- AdExperienceType
- AdListener
- AdOptionsView
- AdOptionsView.Orientation
- AdSDKNotificationListener
- AdSDKNotificationListener.SDKEventKey
- AdSDKNotificationListener.SDKEventType
- AdSDKNotificationManager
- AdSettings
- AdSettings.IntegrationErrorMode
- AdSettings.TestAdType
- AdSize
- AdView
- AdView.AdViewLoadConfig
- AdView.AdViewLoadConfigBuilder
- AudienceNetworkActivity
- AudienceNetworkAds
- AudienceNetworkAds.AdFormat
- AudienceNetworkAds.InitListener
- AudienceNetworkAds.InitResult
- AudienceNetworkAds.InitSettingsBuilder
- AudienceNetworkContentProvider
- BidderTokenProvider
- CacheFlag
- DefaultMediaViewVideoRenderer
- ExtraHints
- ExtraHints.Builder
- ExtraHints.HintType
- ExtraHints.Keyword
- FullScreenAd
- FullScreenAd.ShowAdConfig
- FullScreenAd.ShowConfigBuilder
- InterstitialAd
- InterstitialAd.InterstitialAdLoadConfigBuilder
- InterstitialAd.InterstitialAdShowConfigBuilder
- InterstitialAd.InterstitialLoadAdConfig
- InterstitialAd.InterstitialShowAdConfig
- InterstitialAdExtendedListener
- InterstitialAdListener
- MediaView
- MediaViewListener
- MediaViewVideoRenderer
- MediaViewVideoRendererWithBackgroundPlayback
- NativeAd
- NativeAd.AdCreativeType
- NativeAdBase
- NativeAdBase.Image
- NativeAdBase.MediaCacheFlag
- NativeAdBase.NativeAdLoadConfigBuilder
- NativeAdBase.NativeComponentTag
- NativeAdBase.NativeLoadAdConfig
- NativeAdBase.Rating
- NativeAdLayout
- NativeAdListener
- NativeAdScrollView
- NativeAdScrollView.AdViewProvider
- NativeAdsManager
- NativeAdsManager.Listener
- NativeAdView
- NativeAdView.Type
- NativeAdViewAttributes
- NativeBannerAd
- NativeBannerAdView
- NativeBannerAdView.Type
- RewardData
- RewardedAdListener
- RewardedVideoAd
- RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
- RewardedVideoAd.RewardedVideoAdShowConfigBuilder
- RewardedVideoAd.RewardedVideoLoadAdConfig
- RewardedVideoAd.RewardedVideoShowAdConfig
- RewardedVideoAdExtendedListener
- RewardedVideoAdListener
- S2SRewardedVideoAdExtendedListener
- S2SRewardedVideoAdListener
- VideoAutoplayBehavior
- VideoStartReason
A B C D E F G H I K L M N O P Q R S T U V W A B C D E F G H I K L M N O P Q R S T U V W
A
AbstractAdListener - Class in com.facebook.ads
AbstractAdListener implements
AdListener
, InterstitialAdExtendedListener
and RewardedVideoAdExtendedListener
.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.
Ad.LoadAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an ad load config.
Ad.LoadConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad loading.
AD_ASSETS_UNSUPPORTED_TYPE_ERROR - Static variable in class com.facebook.ads.AdError
AD_ASSETS_UNSUPPORTED_TYPE_ERROR_CODE - Static variable in class com.facebook.ads.AdError
AD_PRESENTATION_ERROR - Static variable in class com.facebook.ads.AdError
AD_PRESENTATION_ERROR_CODE - Static variable in class com.facebook.ads.AdError
addSDKNotificationListener(AdSDKNotificationListener) - Static method in class com.facebook.ads.AdSDKNotificationManager
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.
addView(View) - Method in class com.facebook.ads.MediaViewVideoRenderer
addView(View, int) - Method in class com.facebook.ads.MediaViewVideoRenderer
addView(View, ViewGroup.LayoutParams) - Method in class com.facebook.ads.MediaViewVideoRenderer
addView(View, int, int) - Method in class com.facebook.ads.MediaViewVideoRenderer
addView(View, int, ViewGroup.LayoutParams) - Method in class com.facebook.ads.MediaViewVideoRenderer
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
AdExperienceType - Enum in com.facebook.ads
AdListener - Interface in com.facebook.ads
AdListener interface is notified of events in ad control lifecycle.
AdOptionsView - Class in com.facebook.ads
A clickable Ad Options icon, which presents the user with options to report and hide an ad.
AdOptionsView(Context, NativeAdBase, NativeAdLayout) - Constructor for class com.facebook.ads.AdOptionsView
Initializes the AdOptionsView with default Horizontal orientation and minimum possible size for the icons.
AdOptionsView(Context, NativeAdBase, NativeAdLayout, AdOptionsView.Orientation, int) - Constructor for class com.facebook.ads.AdOptionsView
Initializes the AdOptionsView with custom orientation and icon size.
AdOptionsView.Orientation - Enum in com.facebook.ads
AdSDKNotificationListener - Interface in com.facebook.ads
AdSDKNotificationListener.SDKEventKey - Annotation Type in com.facebook.ads
AdSDKNotificationListener.SDKEventType - Annotation Type in com.facebook.ads
AdSDKNotificationManager - Class in com.facebook.ads
AdSDKNotificationManager() - Constructor for class com.facebook.ads.AdSDKNotificationManager
AdSettings - Class in com.facebook.ads
AdSettings contains global settings for all ad controls.
AdSettings() - Constructor for class com.facebook.ads.AdSettings
AdSettings.TestAdType - Enum in com.facebook.ads
Ad Type to be returned when test mode is on.
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.
AdView(Context, String, String) - Constructor for class com.facebook.ads.AdView
Constructs an AdView using the given context, placement_id and bid payload.
AdView.AdViewLoadConfig - Interface in com.facebook.ads
Marker interface for an object that represents an ad load config.
AdView.AdViewLoadConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad loading.
API_NOT_SUPPORTED - Static variable in class com.facebook.ads.AdError
AudienceNetworkActivity - Class in com.facebook.ads
AudienceNetworkActivity is the Android activity for displaying and handling ads.
AudienceNetworkActivity() - Constructor for class com.facebook.ads.AudienceNetworkActivity
AudienceNetworkAds - Class in com.facebook.ads
The class contains methods that are used across whole Audience Network SDK during lifetime of the application.
AudienceNetworkAds.AdFormat - Annotation Type in com.facebook.ads
Constants that represent Audience Network SDK Ad Formats.
AudienceNetworkAds.InitListener - Interface in com.facebook.ads
The interface that allows receive callback when initialization of the SDK is done.
AudienceNetworkAds.InitResult - Interface in com.facebook.ads
Result of initialization.
AudienceNetworkAds.InitSettingsBuilder - Interface in com.facebook.ads
A builder class that allows to pass additional setting during initialization.
AudienceNetworkContentProvider - Class in com.facebook.ads
AudienceNetworkContentProvider() - Constructor for class com.facebook.ads.AudienceNetworkContentProvider
B
BANNER - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
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.
BidderTokenProvider - Class in com.facebook.ads
Provides tokens for use with the Audience Network server-side bidder
BidderTokenProvider() - Constructor for class com.facebook.ads.BidderTokenProvider
BROKEN_MEDIA_ERROR - Static variable in class com.facebook.ads.AdError
BROKEN_MEDIA_ERROR_CODE - Static variable in class com.facebook.ads.AdError
build() - Method in interface com.facebook.ads.Ad.LoadConfigBuilder
Builds a
Ad.LoadAdConfig
that can be used to load an ad.build() - Method in interface com.facebook.ads.AdView.AdViewLoadConfigBuilder
Builds a
AdView.AdViewLoadConfig
that can be used to load an ad.build() - Method in class com.facebook.ads.ExtraHints.Builder
Deprecated.
build() - Method in interface com.facebook.ads.FullScreenAd.ShowConfigBuilder
Builds a
FullScreenAd.ShowAdConfig
that can be used to show an ad.build() - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Builds a
InterstitialAd.InterstitialLoadAdConfig
that can be used to load an ad.build() - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdShowConfigBuilder
Builds a
InterstitialAd.InterstitialShowAdConfig
that can be used to load an ad.build() - Method in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
Builds a
NativeAdBase.NativeLoadAdConfig
that can be used to load an ad.build() - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Builds a
RewardedVideoAd.RewardedVideoLoadAdConfig
that can be used to load an ad.build() - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdShowConfigBuilder
Builds a
RewardedVideoAd.RewardedVideoShowAdConfig
that can be used to load an ad.Builder() - Constructor for class com.facebook.ads.ExtraHints.Builder
Deprecated.
buildInitSettings(Context) - Static method in class com.facebook.ads.AudienceNetworkAds
Allows initialize the Audience Network SDK with additional settings.
buildLoadAdConfig() - Method in class com.facebook.ads.AdView
Returns
AdView.AdViewLoadConfigBuilder
that allows to specify ad loading parameters.buildLoadAdConfig() - Method in interface com.facebook.ads.FullScreenAd
Returns
LoadConfigBuilder
that allows to specify ad loading parameters.buildLoadAdConfig() - Method in class com.facebook.ads.InterstitialAd
Returns
InterstitialAd.InterstitialAdLoadConfigBuilder
that allows to specify ad loading parameters.buildLoadAdConfig() - Method in class com.facebook.ads.NativeAdBase
Returns
NativeAdBase.NativeAdLoadConfigBuilder
that allows to specify ad loading parameters.buildLoadAdConfig() - Method in class com.facebook.ads.RewardedVideoAd
Returns
RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
that allows to specify ad loading parameters.buildShowAdConfig() - Method in interface com.facebook.ads.FullScreenAd
Returns
FullScreenAd.ShowConfigBuilder
that allows to specify ad showing parameters.buildShowAdConfig() - Method in class com.facebook.ads.InterstitialAd
Returns
InterstitialAd.InterstitialShowAdConfig
that allows to specify ad showing parameters.buildShowAdConfig() - Method in class com.facebook.ads.RewardedVideoAd
Returns
RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
that allows to specify ad showing parameters.C
CACHE_ERROR - Static variable in class com.facebook.ads.AdError
CACHE_ERROR_CODE - Static variable in class com.facebook.ads.AdError
CacheFlag - Enum in com.facebook.ads
CLEAR_TEXT_SUPPORT_NOT_ALLOWED - Static variable in class com.facebook.ads.AdError
clearTestDevices() - Static method in class com.facebook.ads.AdSettings
Clears the collection of test devices.
com.facebook.ads - package com.facebook.ads
contentUrl(String) - Method in class com.facebook.ads.ExtraHints.Builder
Deprecated.
createView(NativeAd, int) - Method in interface com.facebook.ads.NativeAdScrollView.AdViewProvider
D
DEBUG - Static variable in class com.facebook.ads.AdSettings
Deprecated.
Use
AdSettings.setDebugBuild(boolean)
} instead.DEFAULT_INSET - Static variable in class com.facebook.ads.NativeAdScrollView
DEFAULT_MAX_ADS - Static variable in class com.facebook.ads.NativeAdScrollView
DefaultMediaViewVideoRenderer - Class in com.facebook.ads
This is a Default VideoViewRenderer used within MediaView.
DefaultMediaViewVideoRenderer(Context) - Constructor for class com.facebook.ads.DefaultMediaViewVideoRenderer
DefaultMediaViewVideoRenderer(Context, AttributeSet) - Constructor for class com.facebook.ads.DefaultMediaViewVideoRenderer
DefaultMediaViewVideoRenderer(Context, AttributeSet, int) - Constructor for class com.facebook.ads.DefaultMediaViewVideoRenderer
DefaultMediaViewVideoRenderer(Context, AttributeSet, int, int) - Constructor for class com.facebook.ads.DefaultMediaViewVideoRenderer
delete(Uri, String, String[]) - Method in class com.facebook.ads.AudienceNetworkContentProvider
Destroys the ad control.
destroy() - Method in class com.facebook.ads.InterstitialAd
destroy() - Method in class com.facebook.ads.MediaViewVideoRenderer
Deprecated.
destroy() - Method in class com.facebook.ads.NativeAdBase
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.NativeAdsManager
disengageSeek(VideoStartReason) - Method in class com.facebook.ads.MediaViewVideoRenderer
Take the video out of seek mode.
downloadMedia() - Method in class com.facebook.ads.NativeAdBase
Manually pre-cache media contents such as Image, Icon, video, etc.
E
ENCRYPTED_CPM_KEY - Static variable in interface com.facebook.ads.AdSDKNotificationListener
engageSeek() - Method in class com.facebook.ads.MediaViewVideoRenderer
Used to put the video into seek mode.
equals(Object) - Method in class com.facebook.ads.AdSize
extraData(String) - Method in class com.facebook.ads.ExtraHints.Builder
Deprecated.
ExtraHints - Class in com.facebook.ads
Deprecated.
the extra hints API is deprecated and will be removed in a future version of the SDK.
ExtraHints.Builder - Class in com.facebook.ads
Deprecated.
the extra hints API is deprecated and will be removed in a future version of the SDK.
ExtraHints.HintType - Enum in com.facebook.ads
Deprecated.
ExtraHints.Keyword - Enum in com.facebook.ads
Deprecated.
keywords are no longer used by Audience Network
F
finish() - Method in class com.facebook.ads.AudienceNetworkActivity
fromBidPayload(Context, String, String) - Static method in class com.facebook.ads.NativeAdBase
fromJSONObject(JSONObject) - Static method in class com.facebook.ads.NativeAdBase.Image
Parses an Image from the given JSON object.
fromJSONObject(JSONObject) - Static method in class com.facebook.ads.NativeAdBase.Rating
Parses a Rating from the given JSON object.
fromWidthAndHeight(int, int) - Static method in class com.facebook.ads.AdSize
FullScreenAd - Interface in com.facebook.ads
FullScreenAd
is a common interface that is implemented by all fullscreen ads.FullScreenAd.ShowAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an ad show config.
FullScreenAd.ShowConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad showing.
G
getAdBodyText() - Method in class com.facebook.ads.NativeAdBase
Gets the body, usually a longer description of the ad.
getAdCallToAction() - Method in class com.facebook.ads.NativeAdBase
Gets the call to action phrase.
getAdChoicesIcon() - Method in class com.facebook.ads.NativeAdBase
getAdChoicesImageUrl() - Method in class com.facebook.ads.NativeAdBase
getAdChoicesLinkUrl() - Method in class com.facebook.ads.NativeAdBase
getAdChoicesText() - Method in class com.facebook.ads.NativeAdBase
getAdContentsView() - Method in class com.facebook.ads.MediaView
getAdCoverImage() - Method in class com.facebook.ads.NativeAdBase
Gets the cover image creative.
getAdCreativeType() - Method in class com.facebook.ads.NativeAd
Gets the Ad Creative Type, which can be IMAGE, VIDEO, CAROUSEL or UNKNOWN.
getAdExperienceType() - Method in enum com.facebook.ads.AdExperienceType
Get name of AdExperienceType in String.
getAdFormatForPlacement(Context, String) - Static method in class com.facebook.ads.AudienceNetworkAds
Deprecated.
5.8
getAdHeadline() - Method in class com.facebook.ads.NativeAdBase
Shows the headline that the advertiser entered when they created an ad; main title of an ad.
getAdIcon() - Method in class com.facebook.ads.NativeAdBase
Gets the icon creative.
getAdLinkDescription() - Method in class com.facebook.ads.NativeAdBase
Shows additional information that the advertiser may have entered.
getAdSocialContext() - Method in class com.facebook.ads.NativeAdBase
Gets the social context.
getAdStarRating() - Method in class com.facebook.ads.NativeAdBase
Deprecated.
Star rating is deprecated.
getAdTranslation() - Method in class com.facebook.ads.NativeAdBase
Shows the word 'ad', translated into the regional language
getAdTypeString() - Method in enum com.facebook.ads.AdSettings.TestAdType
getAdUntrimmedBodyText() - Method in class com.facebook.ads.NativeAdBase
Gets the untrimmed ad body
getAdvertiserName() - Method in class com.facebook.ads.NativeAdBase
Shows the name of Facebook Page or mobile app that represents the ad.
getAdViewAttributes() - Method in class com.facebook.ads.NativeAdBase
Deprecated.
getAspectRatio() - Method in class com.facebook.ads.NativeAdBase
Aspect ratio of the ad creative.
getAutoplay() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getAutoplayOnMobile() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getBackgroundColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getBidderToken(Context) - Static method in class com.facebook.ads.BidderTokenProvider
Get the Audience Network Identity Token for ORTB bidding (user.buyeruid).
getButtonBorderColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getButtonColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getButtonTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getCurrency() - Method in class com.facebook.ads.RewardData
getCurrentTimeMs() - Method in class com.facebook.ads.MediaViewVideoRenderer
Get the current playback position in milliseconds.
getDescriptionTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getDescriptionTextSize() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getDuration() - Method in class com.facebook.ads.MediaViewVideoRenderer
Get the duration of the video in milliseconds.
getEnumCode() - Method in enum com.facebook.ads.NativeAdView.Type
Deprecated.
getEnumCode() - Method in enum com.facebook.ads.NativeBannerAdView.Type
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.NativeAdBase.Image
Gets the height of the image.
getHeight() - Method in enum com.facebook.ads.NativeAdView.Type
Deprecated.
getHeight() - Method in enum com.facebook.ads.NativeBannerAdView.Type
Gets the height of the ad control.
getHints() - Method in class com.facebook.ads.ExtraHints
Deprecated.
getHumanReadable() - Method in enum com.facebook.ads.AdSettings.TestAdType
getId() - Method in class com.facebook.ads.NativeAdBase
Gets a unique ID for the NativeAd.
getInternalAttributes() - Method in class com.facebook.ads.NativeAdViewAttributes
Used by other SDK classes and subject to change.
getInternalNativeAd() - Method in class com.facebook.ads.NativeAdBase
Used by other SDK classes and subject to change.
getMediaHeight() - Method in class com.facebook.ads.MediaView
getMediationData() - Method in class com.facebook.ads.ExtraHints
Deprecated.
getMediationService() - Static method in class com.facebook.ads.AdSettings
Returns the name of the mediation service that is mediating Audience Network
getMediaViewApi() - Method in class com.facebook.ads.MediaView
Used by other SDK classes and subject to change.
getMediaViewVideoRendererApi() - Method in class com.facebook.ads.MediaViewVideoRenderer
Used by other SDK classes and subject to change.
getMediaWidth() - Method in class com.facebook.ads.MediaView
getMessage() - Method in interface com.facebook.ads.AudienceNetworkAds.InitResult
A message that contains details about initialization result.
getNativeAdApi() - Method in class com.facebook.ads.NativeAd
Used by other SDK classes and subject to change.
getNativeAdLayoutApi() - Method in class com.facebook.ads.NativeAdLayout
Used by other SDK classes and subject to change.
getNotificationListeners() - Static method in class com.facebook.ads.AdSDKNotificationManager
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.InterstitialAd
getPlacementId() - Method in class com.facebook.ads.NativeAdBase
getPlacementId() - Method in class com.facebook.ads.RewardedVideoAd
getPreloadedIconViewDrawable() - Method in class com.facebook.ads.NativeAdBase
Returns Icon View Drawable preloaded using
NativeAdBase.NativeAdLoadConfigBuilder.withPreloadedIconView(int, int)
.getPromotedTranslation() - Method in class com.facebook.ads.NativeAdBase
Shows the word 'promoted', translated into the regional language
getQuantity() - Method in class com.facebook.ads.RewardData
getScale() - Method in class com.facebook.ads.NativeAdBase.Rating
Gets the rating scale.
getSponsoredTranslation() - Method in class com.facebook.ads.NativeAdBase
Shows the word 'Sponsored', translated into the regional language.
getTestAdType() - Static method in class com.facebook.ads.AdSettings
getTitleTextColor() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getTitleTextSize() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getType(Uri) - Method in class com.facebook.ads.AudienceNetworkContentProvider
getTypeface() - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
getUniqueNativeAdCount() - Method in class com.facebook.ads.NativeAdsManager
getUrl() - Method in class com.facebook.ads.NativeAdBase.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.NativeAdBase.Rating
Gets the rating value.
getValue() - Method in enum com.facebook.ads.NativeAdView.Type
Deprecated.
getValue() - Method in enum com.facebook.ads.NativeBannerAdView.Type
getVideoDuration() - Method in class com.facebook.ads.RewardedVideoAd
getVolume() - Method in class com.facebook.ads.MediaViewVideoRenderer
Get the volume of the video player.
getWidth() - Method in class com.facebook.ads.AdSize
Gets the width of the ad control.
getWidth() - Method in class com.facebook.ads.NativeAdBase.Image
Gets the width of the image.
getWidth() - Method in enum com.facebook.ads.NativeAdView.Type
Deprecated.
getWidth() - Method in enum com.facebook.ads.NativeBannerAdView.Type
Gets the width of the ad control.
H
hasCallToAction() - Method in class com.facebook.ads.NativeAdBase
Gets whether an action or command is present in an ad
hashCode() - Method in class com.facebook.ads.AdSize
I
ICONVIEW_MISSING_ERROR_CODE - Static variable in class com.facebook.ads.AdError
IMPRESSION_EVENT - Static variable in interface com.facebook.ads.AdSDKNotificationListener
INCORRECT_STATE_ERROR - Static variable in class com.facebook.ads.AdError
initialize(Context) - Static method in class com.facebook.ads.AudienceNetworkAds
Initialize the Audience Network SDK.
initialize() - Method in interface com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
Triggers asynchronous initialization.
insert(Uri, ContentValues) - Method in class com.facebook.ads.AudienceNetworkContentProvider
INTERNAL_ERROR - Static variable in class com.facebook.ads.AdError
INTERNAL_ERROR_2003 - Static variable in class com.facebook.ads.AdError
INTERNAL_ERROR_2004 - Static variable in class com.facebook.ads.AdError
INTERNAL_ERROR_2006 - Static variable in class com.facebook.ads.AdError
INTERNAL_ERROR_CODE - Static variable in class com.facebook.ads.AdError
internalError(int) - Static method in class com.facebook.ads.AdError
INTERSTITIAL - Static variable in class com.facebook.ads.AdSize
A full screen interstitial size.
INTERSTITIAL - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
INTERSTITIAL_AD_TIMEOUT - Static variable in class com.facebook.ads.AdError
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.
InterstitialAd.InterstitialAdLoadConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad loading.
InterstitialAd.InterstitialAdShowConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad showing.
InterstitialAd.InterstitialLoadAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an interstitial ad load config.
InterstitialAd.InterstitialShowAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an interstitial ad show config.
InterstitialAdExtendedListener - Interface in com.facebook.ads
InterstitialAdExtendedListener interface is notified of events in
InterstitialAd
lifecycle.InterstitialAdListener - Interface in com.facebook.ads
InterstitialAdListener interface is notified of events in
InterstitialAd
lifecycle.isAdInvalidated() - Method in interface com.facebook.ads.Ad
Indicate whether the ad is still valid.
isAdInvalidated() - Method in class com.facebook.ads.AdView
isAdInvalidated() - Method in class com.facebook.ads.InterstitialAd
isAdInvalidated() - Method in class com.facebook.ads.NativeAdBase
isAdInvalidated() - Method in class com.facebook.ads.RewardedVideoAd
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.NativeAdBase
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
isInitialized(Context) - Static method in class com.facebook.ads.AudienceNetworkAds
Returns true if Audience Network SDK has been already initialized.
isLoaded() - Method in class com.facebook.ads.NativeAdsManager
isMixedAudience() - Static method in class com.facebook.ads.AdSettings
Gets whether the ad control is targeting a mixed audience.
isNativeConfigEnabled() - Method in class com.facebook.ads.NativeAdBase
Deprecated.
isSuccess() - Method in interface com.facebook.ads.AudienceNetworkAds.InitResult
A boolean value that shows if the SDK was successfully initialized.
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
K
keywords(List<ExtraHints.Keyword>) - Method in class com.facebook.ads.ExtraHints.Builder
Deprecated.
keywords are no longer used by Audience Network
L
LOAD_CALLED_WHILE_SHOWING_AD - Static variable in class com.facebook.ads.AdError
LOAD_TOO_FREQUENTLY - Static variable in class com.facebook.ads.AdError
LOAD_TOO_FREQUENTLY_ERROR_CODE - Static variable in class com.facebook.ads.AdError
Loads an ad.
Loads an ad.
loadAd(AdView.AdViewLoadConfig) - Method in class com.facebook.ads.AdView
Loads an ad.
loadAd() - Method in class com.facebook.ads.InterstitialAd
loadAd(InterstitialAd.InterstitialLoadAdConfig) - Method in class com.facebook.ads.InterstitialAd
Loads an ad.
loadAd() - Method in class com.facebook.ads.NativeAdBase
loadAd(NativeAdBase.NativeLoadAdConfig) - Method in class com.facebook.ads.NativeAdBase
Loads an ad.
loadAd() - Method in class com.facebook.ads.RewardedVideoAd
loadAd(RewardedVideoAd.RewardedVideoLoadAdConfig) - Method in class com.facebook.ads.RewardedVideoAd
Loads an ad.
loadAds() - Method in class com.facebook.ads.NativeAdsManager
loadAds(NativeAdBase.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
mediationData(String) - Method in class com.facebook.ads.ExtraHints.Builder
Deprecated.
MediaView - Class in com.facebook.ads
MediaView displays native ad media content.
MediaView(Context) - Constructor for class com.facebook.ads.MediaView
MediaView(Context, AttributeSet) - Constructor for class com.facebook.ads.MediaView
MediaView(Context, AttributeSet, int) - Constructor for class com.facebook.ads.MediaView
MediaView(Context, AttributeSet, int, int) - Constructor for class com.facebook.ads.MediaView
MEDIAVIEW_MISSING_ERROR_CODE - Static variable in class com.facebook.ads.AdError
MediaViewListener - Interface in com.facebook.ads
MediaViewListener interface is notified of events in
MediaView
lifecycle.MediaViewVideoRenderer - Class in com.facebook.ads
Abstract video renderer class that developers can extend to implement very customized video UI within the MediaView.
MediaViewVideoRenderer(Context) - Constructor for class com.facebook.ads.MediaViewVideoRenderer
MediaViewVideoRenderer(Context, AttributeSet) - Constructor for class com.facebook.ads.MediaViewVideoRenderer
MediaViewVideoRenderer(Context, AttributeSet, int) - Constructor for class com.facebook.ads.MediaViewVideoRenderer
MediaViewVideoRenderer(Context, AttributeSet, int, int) - Constructor for class com.facebook.ads.MediaViewVideoRenderer
This is a Default VideoViewRenderer used within MediaView.
MediaViewVideoRendererWithBackgroundPlayback(Context) - Constructor for class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
MediaViewVideoRendererWithBackgroundPlayback(Context, AttributeSet) - Constructor for class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
MediaViewVideoRendererWithBackgroundPlayback(Context, AttributeSet, int) - Constructor for class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
MediaViewVideoRendererWithBackgroundPlayback(Context, AttributeSet, int, int) - Constructor for class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
MISSING_DEPENDENCIES_ERROR - Static variable in class com.facebook.ads.AdError
N
NATIVE - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
NATIVE_AD_IS_NOT_LOADED - Static variable in class com.facebook.ads.AdError
NATIVE_BANNER - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
nativeAd - Variable in class com.facebook.ads.MediaViewVideoRenderer
Deprecated.
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, NativeAdBaseApi) - Constructor for class com.facebook.ads.NativeAd
Used by other SDK classes and subject to change.
NativeAd(Context, NativeAdBase) - Constructor for class com.facebook.ads.NativeAd
Used by other SDK classes and subject to change.
NativeAd.AdCreativeType - Enum in com.facebook.ads
NativeAdBase - Class in com.facebook.ads
NativeAdBase(Context, String) - Constructor for class com.facebook.ads.NativeAdBase
Constructs an NativeAdBase using the given context and placement id.
NativeAdBase(NativeAdBaseApi) - Constructor for class com.facebook.ads.NativeAdBase
Used by other SDK classes and subject to change.
NativeAdBase.Image - Class in com.facebook.ads
Image creative.
NativeAdBase.MediaCacheFlag - Enum in com.facebook.ads
Media Cache flag
NativeAdBase.NativeAdLoadConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad loading.
Optional tags for native ad view components.
NativeAdBase.NativeLoadAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents a native ad load config.
NativeAdBase.Rating - Class in com.facebook.ads
Rating info.
NativeAdLayout - Class in com.facebook.ads
NativeAdLayout is a wrapper for FrameLayout that is required to show the inline ad reporting menu for Native Ads.
NativeAdLayout(Context) - Constructor for class com.facebook.ads.NativeAdLayout
NativeAdLayout(Context, AttributeSet) - Constructor for class com.facebook.ads.NativeAdLayout
NativeAdLayout(Context, AttributeSet, int) - Constructor for class com.facebook.ads.NativeAdLayout
NativeAdLayout(Context, NativeAdLayoutApi) - Constructor for class com.facebook.ads.NativeAdLayout
Used by other SDK classes and subject to change.
NativeAdListener - Interface in com.facebook.ads
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, int) - Constructor for class com.facebook.ads.NativeAdScrollView
NativeAdScrollView(Context, NativeAdsManager, int, NativeAdViewAttributes) - Constructor for class com.facebook.ads.NativeAdScrollView
NativeAdScrollView(Context, NativeAdsManager, int, NativeAdViewAttributes, int) - Constructor for class com.facebook.ads.NativeAdScrollView
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type) - Constructor for class com.facebook.ads.NativeAdScrollView
Deprecated.
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type, NativeAdViewAttributes) - Constructor for class com.facebook.ads.NativeAdScrollView
Deprecated.
NativeAdScrollView(Context, NativeAdsManager, NativeAdView.Type, NativeAdViewAttributes, int) - Constructor for class com.facebook.ads.NativeAdScrollView
Deprecated.
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 the container View.NativeAdView() - Constructor for class com.facebook.ads.NativeAdView
NativeAdView.Type - Enum in com.facebook.ads
Deprecated.
NativeAdViewAttributes - Class in com.facebook.ads
NativeAdViewAttributes controls layout and display elements of the NativeAdView.
NativeAdViewAttributes(Context) - Constructor for class com.facebook.ads.NativeAdViewAttributes
Create NativeAdViewAttributes.
NativeAdViewAttributes() - Constructor for class com.facebook.ads.NativeAdViewAttributes
Deprecated.
NativeBannerAd - Class in com.facebook.ads
NativeBannerAd provides an ad creative for apps to render on a custom layout.
NativeBannerAd(Context, String) - Constructor for class com.facebook.ads.NativeBannerAd
NativeBannerAdView - Class in com.facebook.ads
NativeBannerAdView
provides a templated View
for a NativeBannerAd
with flexible width and height determined by NativeBannerAdView.Type
.NativeBannerAdView() - Constructor for class com.facebook.ads.NativeBannerAdView
NativeBannerAdView.Type - Enum in com.facebook.ads
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_ERROR_CODE - Static variable in class com.facebook.ads.AdError
O
onActivityResult(int, int, Intent) - Method in class com.facebook.ads.AudienceNetworkActivity
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
onAdEvent(String, Bundle) - Method in interface com.facebook.ads.AdSDKNotificationListener
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
onBackPressed() - Method in class com.facebook.ads.AudienceNetworkActivity
onComplete(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onCompleted() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video has completed playing.
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
onCreate() - Method in class com.facebook.ads.AudienceNetworkContentProvider
onCtaBroadcast() - Method in class com.facebook.ads.NativeAdBase
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.
onError() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video had an error during initialization or playback.
onExitFullscreen(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onFullscreenBackground(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onFullscreenForeground(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onInitialized(AudienceNetworkAds.InitResult) - Method in interface com.facebook.ads.AudienceNetworkAds.InitListener
onInterstitialActivityDestroyed() - Method in class com.facebook.ads.AbstractAdListener
onInterstitialActivityDestroyed() - Method in interface com.facebook.ads.InterstitialAdExtendedListener
Called when the Interstitial activity is destroyed.
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.AdListener
Called immediately before an impression is logged.
onMediaDownloaded(Ad) - Method in interface com.facebook.ads.NativeAdListener
onPause() - Method in class com.facebook.ads.AudienceNetworkActivity
onPause(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onPaused() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video has been paused.
onPlay(MediaView) - Method in interface com.facebook.ads.MediaViewListener
onPlayed() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video has started playing.
onPrepared() - Method in class com.facebook.ads.DefaultMediaViewVideoRenderer
onPrepared() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video is prepared and ready to play.
onPrepared() - Method in class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
onResume() - Method in class com.facebook.ads.AudienceNetworkActivity
onRewardedAdCompleted() - Method in class com.facebook.ads.AbstractAdListener
onRewardedAdCompleted() - Method in interface com.facebook.ads.RewardedAdListener
Called when the reward criteria for any ad is satisfied on client.
onRewardedAdServerFailed() - Method in class com.facebook.ads.AbstractAdListener
onRewardedAdServerFailed() - Method in interface com.facebook.ads.RewardedAdListener
Called when the reward criteria for any ad fails from server url, if used.
onRewardedAdServerSucceeded() - Method in class com.facebook.ads.AbstractAdListener
onRewardedAdServerSucceeded() - Method in interface com.facebook.ads.RewardedAdListener
Called when the reward criteria for any ad is satisfied from server url, if used.
onRewardedVideoActivityDestroyed() - Method in class com.facebook.ads.AbstractAdListener
onRewardedVideoActivityDestroyed() - Method in interface com.facebook.ads.RewardedVideoAdExtendedListener
Called when the Rewarded Video activity is destroyed.
onRewardedVideoClosed() - Method in class com.facebook.ads.AbstractAdListener
onRewardedVideoClosed() - Method in interface com.facebook.ads.RewardedVideoAdListener
Called immediately after the user click the close button.
onRewardedVideoCompleted() - Method in class com.facebook.ads.AbstractAdListener
onRewardedVideoCompleted() - Method in interface com.facebook.ads.RewardedVideoAdListener
Called immediately after the rewarded video was completed.
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
onSeek() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the video is seeked.
onSeekDisengaged() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when seek mode is disengaged.
onSeekEngaged() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when seek mode is engaged.
onStart() - Method in class com.facebook.ads.AudienceNetworkActivity
onStop() - Method in class com.facebook.ads.AudienceNetworkActivity
onTouchEvent(MotionEvent) - Method in class com.facebook.ads.AudienceNetworkActivity
onVolumeChange(MediaView, float) - Method in interface com.facebook.ads.MediaViewListener
onVolumeChanged() - Method in class com.facebook.ads.MediaViewVideoRenderer
Callback when the volume of the video has changed.
P
pause(boolean) - Method in class com.facebook.ads.MediaViewVideoRenderer
Stop video playback.
play(VideoStartReason) - Method in class com.facebook.ads.MediaViewVideoRenderer
Start video playback.
Q
query(Uri, String[], String, String[], String) - Method in class com.facebook.ads.AudienceNetworkContentProvider
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.
registerAdCompanionView(AdCompanionView) - Method in class com.facebook.ads.InterstitialAd
registerAdCompanionView(AdCompanionView) - Method in class com.facebook.ads.RewardedVideoAd
registerViewForInteraction(View, MediaView) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, MediaView) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, List<View>) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, MediaView, List<View>) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, ImageView) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, ImageView, List<View>) - Method in class com.facebook.ads.NativeAd
Registers the given view as the container and the required MediaView as the contents display for this NativeAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView) - Method in class com.facebook.ads.NativeBannerAd
Registers the given view as the container and the required MediaView as the Icon display for this NativeBannerAd to handle impressions and clicks.
registerViewForInteraction(View, MediaView, List<View>) - Method in class com.facebook.ads.NativeBannerAd
Registers the given view as the container and the required MediaView as the Icon display for this NativeBannerAd to handle impressions and clicks.
registerViewForInteraction(View, ImageView) - Method in class com.facebook.ads.NativeBannerAd
Registers the given view as the container and the required ImageView as the Icon display for this NativeBannerAd to handle impressions and clicks.
registerViewForInteraction(View, ImageView, List<View>) - Method in class com.facebook.ads.NativeBannerAd
Registers the given view as the container and the required ImageView as the Icon display for this NativeBannerAd to handle impressions and clicks.
REMOTE_ADS_SERVICE_ERROR - Static variable in class com.facebook.ads.AdError
removeSDKNotificationListener(AdSDKNotificationListener) - Static method in class com.facebook.ads.AdSDKNotificationManager
render(Context, NativeAd) - Static method in class com.facebook.ads.NativeAdView
Creates a
View
for the given NativeAd
.render(Context, NativeAd, NativeAdViewAttributes) - Static method in class com.facebook.ads.NativeAdView
Creates a
View
for the given NativeAd
.render(Context, NativeAd, NativeAdView.Type) - Static method in class com.facebook.ads.NativeAdView
Deprecated.
render(Context, NativeAd, NativeAdView.Type, NativeAdViewAttributes) - Static method in class com.facebook.ads.NativeAdView
Deprecated.
render(Context, NativeBannerAd, NativeBannerAdView.Type) - Static method in class com.facebook.ads.NativeBannerAdView
Allows to create
View
for specified NativeBannerAdView.Type
.render(Context, NativeBannerAd, NativeBannerAdView.Type, NativeAdViewAttributes) - Static method in class com.facebook.ads.NativeBannerAdView
repair(Throwable) - Method in class com.facebook.ads.MediaView
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
RewardData(String, String, int) - Constructor for class com.facebook.ads.RewardData
REWARDED_VIDEO - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
RewardedAdListener - Interface in com.facebook.ads
RewardedVideoAd - Class in com.facebook.ads
RewardedVideoAd displays a rewarded video advertisement by Facebook
RewardedVideoAd(Context, String) - Constructor for class com.facebook.ads.RewardedVideoAd
Constructs a RewardedVideoAd given the context and the placement id
RewardedVideoAd.RewardedVideoAdLoadConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad loading.
RewardedVideoAd.RewardedVideoAdShowConfigBuilder - Interface in com.facebook.ads
Builder that allows to configure an ad showing.
RewardedVideoAd.RewardedVideoLoadAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an rewarded video ad load config.
RewardedVideoAd.RewardedVideoShowAdConfig - Interface in com.facebook.ads
Marker interface for an object that represents an rewarded video ad show config.
RewardedVideoAdExtendedListener - Interface in com.facebook.ads
RewardedVideoAdExtendedListener interface is notified of events in
RewardedVideoAd
lifecycle.RewardedVideoAdListener - Interface in com.facebook.ads
RewardedVideoAdListener interface is notified of events in
RewardedVideoAd
lifecycle.S
S2SRewardedVideoAdExtendedListener - Interface in com.facebook.ads
S2SRewardedVideoAdExtendedListener interface is notified of events in
RewardedVideoAd
lifecycle using severside validationS2SRewardedVideoAdListener - Interface in com.facebook.ads
S2SRewardedVideoAdListener interface is notified of events in
RewardedVideoAd
lifecycle using severside validationseekTo(int) - Method in class com.facebook.ads.MediaViewVideoRenderer
Set the seek position in milliseconds.
serialVersionUID - Static variable in enum com.facebook.ads.AdSettings.IntegrationErrorMode
serialVersionUID - Static variable in enum com.facebook.ads.AdSettings.TestAdType
SERVER_ERROR - Static variable in class com.facebook.ads.AdError
SERVER_ERROR_CODE - Static variable in class com.facebook.ads.AdError
setAutoplay(boolean) - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
setAutoplayOnMobile(boolean) - Method in class com.facebook.ads.NativeAdViewAttributes
Deprecated.
setBackgroundColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The color that will be used as background for the whole Ad View.
setButtonBorderColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The color for the border of the CTA button.
setButtonColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The background color of the CTA button.
setButtonTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The text color of the CTA button.
setDataProcessingOptions(String[]) - Static method in class com.facebook.ads.AdSettings
Data processing options.
setDataProcessingOptions(String[], int, int) - Static method in class com.facebook.ads.AdSettings
Data processing options.
setDebugBuild(boolean) - Static method in class com.facebook.ads.AdSettings
Puts the SDK in debug mode
setDescriptionTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The color that will be used for all text fields except the title and the CTA button.
setExtraHints(ExtraHints) - Method in interface com.facebook.ads.Ad
Deprecated.
since 5.6, the extra hints API is deprecated and will be removed in a future version of the SDK.
setExtraHints(ExtraHints) - Method in class com.facebook.ads.AdView
Deprecated.
setExtraHints(ExtraHints) - Method in class com.facebook.ads.InterstitialAd
Deprecated.
setExtraHints(ExtraHints) - Method in class com.facebook.ads.NativeAdBase
Deprecated.
setExtraHints(String) - Method in class com.facebook.ads.NativeAdsManager
setExtraHints(ExtraHints) - Method in class com.facebook.ads.RewardedVideoAd
Deprecated.
setIconColor(int) - Method in class com.facebook.ads.AdOptionsView
Sets the color of the icons.
setIconSizeDp(int) - Method in class com.facebook.ads.AdOptionsView
Sets the size of the icons in dp.
setInset(int) - Method in class com.facebook.ads.NativeAdScrollView
setIntegrationErrorMode(AdSettings.IntegrationErrorMode) - Static method in class com.facebook.ads.AdSettings
Specify behaviour of the SDK when client code has an integration error.
setListener(MediaViewListener) - Method in class com.facebook.ads.MediaView
setListener(NativeAdsManager.Listener) - Method in class com.facebook.ads.NativeAdsManager
setMaxWidth(int) - Method in class com.facebook.ads.NativeAdLayout
setMediationService(String) - Static method in class com.facebook.ads.AdSettings
Sets the name of the mediation service that is mediating Audience Network.
setMinWidth(int) - Method in class com.facebook.ads.NativeAdLayout
setMixedAudience(boolean) - Static method in class com.facebook.ads.AdSettings
Sets whether the ad control is targeting a mixed audience.
setNativeAd(NativeAd) - Method in class com.facebook.ads.MediaViewVideoRenderer
Deprecated.
since 5.2
setOnTouchListener(View.OnTouchListener) - Method in class com.facebook.ads.NativeAdBase
Sets an OnTouchListener to be notified of touch events on the ad unit.
setSingleIcon(boolean) - Method in class com.facebook.ads.AdOptionsView
This view displays the ad choices and ad reporting icons by default.
setTestAdType(AdSettings.TestAdType) - Static method in class com.facebook.ads.AdSettings
setTestMode(boolean) - Static method in class com.facebook.ads.AdSettings
Sets whether ad controls are working in test mode.
setTitleTextColor(int) - Method in class com.facebook.ads.NativeAdViewAttributes
The color that will be used for the Ad Title and AdOptionsView.
setTypeface(Typeface) - Method in class com.facebook.ads.NativeAdViewAttributes
Sets the
Typeface
for all text in the Ad View.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
setVideoRenderer(MediaViewVideoRenderer) - Method in class com.facebook.ads.MediaView
After creating the MediaView you can change the video renderer implementation to a custom extension of MediaViewVideoRenderer.
setVisibleAnimation(boolean) - Static method in class com.facebook.ads.AdSettings
setVolume(float) - Method in class com.facebook.ads.MediaViewVideoRenderer
Set the volume of the video player.
shouldAllowBackgroundPlayback() - Method in class com.facebook.ads.MediaViewVideoRenderer
Whether background video playback should be enabled or not.
shouldAllowBackgroundPlayback() - Method in class com.facebook.ads.MediaViewVideoRendererWithBackgroundPlayback
shouldAutoplay() - Method in class com.facebook.ads.MediaViewVideoRenderer
Returns if the video should autoplay or not.
show() - Method in interface com.facebook.ads.FullScreenAd
show() - Method in class com.facebook.ads.InterstitialAd
Shows the interstitial ad.
show(InterstitialAd.InterstitialShowAdConfig) - Method in class com.facebook.ads.InterstitialAd
Shows the interstitial ad
show() - Method in class com.facebook.ads.RewardedVideoAd
Shows the rewarded video ad
show(RewardedVideoAd.RewardedVideoShowAdConfig) - Method in class com.facebook.ads.RewardedVideoAd
Shows the rewarded video ad
SHOW_CALLED_BEFORE_LOAD_ERROR - Static variable in class com.facebook.ads.AdError
SHOW_CALLED_BEFORE_LOAD_ERROR_CODE - Static variable in class com.facebook.ads.AdError
T
TAG - Static variable in class com.facebook.ads.AudienceNetworkAds
tagView(View, NativeAdBase.NativeComponentTag) - Static method in enum com.facebook.ads.NativeAdBase.NativeComponentTag
turnOnSDKDebugger(Context) - Static method in class com.facebook.ads.AdSettings
This is a feature in testing not currently supported
U
UNKNOWN - Static variable in annotation type com.facebook.ads.AudienceNetworkAds.AdFormat
UNKNOWN_IMAGE_SIZE - Static variable in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
Constant for
NativeAdBase.NativeAdLoadConfigBuilder.withPreloadedIconView(int, int)
that means that preloaded bitmap will have default size.unregisterView() - Method in class com.facebook.ads.NativeAdBase
UNSET_VIDEO_DURATION - Static variable in class com.facebook.ads.RewardedVideoAd
unsetNativeAd() - Method in class com.facebook.ads.MediaViewVideoRenderer
Deprecated.
since 5.2
update(Uri, ContentValues, String, String[]) - Method in class com.facebook.ads.AudienceNetworkContentProvider
V
valueOf(String) - Static method in enum com.facebook.ads.AdExperienceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.AdOptionsView.Orientation
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.AdSettings.IntegrationErrorMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.AdSettings.TestAdType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.CacheFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.ExtraHints.HintType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.ExtraHints.Keyword
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAd.AdCreativeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAdBase.MediaCacheFlag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAdBase.NativeComponentTag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeAdView.Type
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.NativeBannerAdView.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.VideoAutoplayBehavior
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.facebook.ads.VideoStartReason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.facebook.ads.AdExperienceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.AdOptionsView.Orientation
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.AdSettings.IntegrationErrorMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.AdSettings.TestAdType
Returns an array containing the constants of this enum type, in the order they are declared.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.ExtraHints.HintType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.ExtraHints.Keyword
Deprecated.
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.AdCreativeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.NativeAdBase.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.NativeAdBase.NativeComponentTag
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
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.NativeBannerAdView.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.VideoAutoplayBehavior
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.facebook.ads.VideoStartReason
Returns an array containing the constants of this enum type, in the order they are declared.
videoAutoplayBehavior - Variable in class com.facebook.ads.MediaViewVideoRenderer
Deprecated.
VideoAutoplayBehavior - Enum in com.facebook.ads
Deprecated.
since 5.2
VideoStartReason - Enum in com.facebook.ads
This enum indicates why the video playback was started.
W
withAdCompanionView(boolean) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Flag the existence of a companion view
withAdCompanionView(boolean) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Flag the existence of a companion view
withAdExperience(AdExperienceType) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Specifies AdExperience for the ad
withAdListener(AdListener) - Method in interface com.facebook.ads.AdView.AdViewLoadConfigBuilder
Sets an AdListener to be notified on events in control lifecycle.
withAdListener(InterstitialAdListener) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Sets an InterstitialAdListener to be notified on events in control lifecycle.
withAdListener(NativeAdListener) - Method in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
Sets an InterstitialAdListener to be notified on events in control lifecycle.
withAdListener(RewardedVideoAdListener) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Sets an RewardedVideoAdListener to be notified on events in control lifecycle.
withAppOrientation(int) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdShowConfigBuilder
withBid(String) - Method in interface com.facebook.ads.Ad.LoadConfigBuilder
Allows to loads an ad from the payload supplied with a bid.
withBid(String) - Method in interface com.facebook.ads.AdView.AdViewLoadConfigBuilder
Allow to loads an ad from the payload supplied with a bid.
withBid(String) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Allow to loads an ad from the payload supplied with a bid.
withBid(String) - Method in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
Allow to loads an ad from the payload supplied with a bid.
withBid(String) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Allow to load an ad from the payload supplied with a bid.
withCacheFlags(EnumSet<CacheFlag>) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
This method allows to set pre-caching for the ad.
withFailOnCacheFailureEnabled(boolean) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Specifies if load should fail when assets were not cached successfully.
withInitListener(AudienceNetworkAds.InitListener) - Method in interface com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
An optional listener that will be called as soon as initialization is finished.
withMediaCacheFlag(NativeAdBase.MediaCacheFlag) - Method in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
This method allows to disable pre-caching for the ads while
NativeAdBase.loadAd()
pre-cache ad assets by default.withMediationService(String) - Method in interface com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
Sets the name of the mediation service that is mediating Audience Network.
withPlacementIds(List<String>) - Method in interface com.facebook.ads.AudienceNetworkAds.InitSettingsBuilder
An optional list of placement ids that are used in this application.
withPreloadedIconView(int, int) - Method in interface com.facebook.ads.NativeAdBase.NativeAdLoadConfigBuilder
Allow to pre-load an native ad icon image into memory that allows instantly populate the image into
MediaView
or android.widget.ImageView
during ad loading (if cache is enabled) or during NativeAdBase.downloadMedia()
call (if cache is disabled).withRewardData(RewardData) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Specifies RewardData for the ad.
withRewardData(RewardData) - Method in interface com.facebook.ads.RewardedVideoAd.RewardedVideoAdLoadConfigBuilder
Specifies RewardData for the ad.
withRewardedAdListener(RewardedAdListener) - Method in interface com.facebook.ads.InterstitialAd.InterstitialAdLoadConfigBuilder
Sets a RewardedAdListener to be notified on if user receives a reward.