A C D F G H I L M N O S T V 

A

Ad - Interface in com.facebook.ads
Ad interface is a common interface implemented by all Facebook ad controls.
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.
AdSettings - Class in com.facebook.ads
AdSettings contains global settings for all ad controls.
AdSettings() - Constructor for class com.facebook.ads.AdSettings
 
AdSize - Enum in com.facebook.ads
AdSize is the dimension of the ad control.
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.

C

clearTestDevices() - Static method in class com.facebook.ads.AdSettings
Clears the collection of test devices.
com.facebook.ads - package com.facebook.ads
 

D

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.InterstitialAd
 
destroy() - Method in class com.facebook.ads.NativeAd
 
DISPLAY_HEIGHT_INTENT_EXTRA - Static variable in class com.facebook.ads.InterstitialAd
 
DISPLAY_ROTATION_INTENT_EXTRA - Static variable in class com.facebook.ads.InterstitialAd
 
DISPLAY_WIDTH_INTENT_EXTRA - Static variable in class com.facebook.ads.InterstitialAd
 
downloadAndDisplayImage(NativeAd.Image, ImageView) - Static method in class com.facebook.ads.NativeAd
Downloads the given Image and displays it in the given ImageView.

F

finish() - Method in class com.facebook.ads.InterstitialAdActivity
 
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.

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.
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.
getAdSocialContext() - Method in class com.facebook.ads.NativeAd
Gets the social context.
getAdStarRating() - Method in class com.facebook.ads.NativeAd
Gets the star rating.
getAdTitle() - Method in class com.facebook.ads.NativeAd
Gets the title.
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 enum 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.
getScale() - Method in class com.facebook.ads.NativeAd.Rating
Gets the rating scale.
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.
getValue() - Method in class com.facebook.ads.NativeAd.Rating
Gets the rating value.
getWidth() - Method in enum 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.

H

handleClick() - Method in class com.facebook.ads.NativeAd
Handles click on the ad.

I

INTERNAL_ERROR - Static variable in class com.facebook.ads.AdError
 
INTERSTITIAL_CLICKED - Static variable in class com.facebook.ads.InterstitialAd
 
INTERSTITIAL_DISMISSED - Static variable in class com.facebook.ads.InterstitialAd
 
INTERSTITIAL_DISPLAYED - Static variable in class com.facebook.ads.InterstitialAd
 
INTERSTITIAL_UNIQUE_ID_EXTRA - Static variable in class com.facebook.ads.InterstitialAd
 
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
InterstitialAdActivity is the Android activity used by InterstitialAd to display ad.
InterstitialAdActivity() - Constructor for class com.facebook.ads.InterstitialAdActivity
 
InterstitialAdListener - Interface in com.facebook.ads
InterstitialAdListener interface is notified of events in InterstitialAd lifecycle.
INVALID_ERROR_CODE - Static variable in class com.facebook.ads.AdError
 
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.
isChildDirected() - Static method in class com.facebook.ads.AdSettings
Gets whether the ad control is targeting a child.
isTestMode(Context) - Static method in class com.facebook.ads.AdSettings
Gets whether ad controls are working in test mode.

L

LOAD_TOO_FREQUENTLY - 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.InterstitialAd
 
loadAd() - Method in class com.facebook.ads.NativeAd
 
logImpression() - Method in class com.facebook.ads.NativeAd
Logs the ad impression.

M

MISSING_PROPERTIES - Static variable in class com.facebook.ads.AdError
 

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.Image - Class in com.facebook.ads
Image creative.
NativeAd.Rating - Class in com.facebook.ads
Rating info.
NO_FILL - Static variable in class com.facebook.ads.AdError
 

O

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.
onAdLoaded(Ad) - Method in interface com.facebook.ads.AdListener
Called when the ad control has loaded an ad.
onCreate(Bundle) - Method in class com.facebook.ads.InterstitialAdActivity
 
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.
onInterstitialDismissed(Ad) - Method in interface com.facebook.ads.InterstitialAdListener
Called when the interstitial ad control is dismissed.
onInterstitialDisplayed(Ad) - Method in interface com.facebook.ads.InterstitialAdListener
Called when the interstitial ad control is displayed.
onRestart() - Method in class com.facebook.ads.InterstitialAdActivity
 
onSaveInstanceState(Bundle) - Method in class com.facebook.ads.InterstitialAdActivity
 
onSetAlpha(int) - Method in class com.facebook.ads.AdView
 
onStart() - Method in class com.facebook.ads.InterstitialAdActivity
 
onWindowVisibilityChanged(int) - Method in class com.facebook.ads.AdView
 

S

setAdListener(AdListener) - Method in class com.facebook.ads.AdView
Sets an AdListener 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
Sets an AdListener to be notified on events happened in control lifecycle.
setIsChildDirected(boolean) - Static method in class com.facebook.ads.AdSettings
Sets whether the ad control is targeting a child.
setRequestedOrientation(int) - Method in class com.facebook.ads.InterstitialAdActivity
 
setUrlPrefix(String) - Static method in class com.facebook.ads.AdSettings
Sets the url prefix to use when making requests.
show() - Method in class com.facebook.ads.InterstitialAd
Shows the interstitial ad.

T

TAG - Static variable in class com.facebook.ads.AdSettings
 

V

valueOf(String) - Static method in enum com.facebook.ads.AdSize
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.facebook.ads.AdSize
Returns an array containing the constants of this enum type, in the order they are declared.
A C D F G H I L M N O S T V