Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
G
H
I
O
R
S
V
A
AdManager
- Class in
com.admob.android.ads
Provides data required to deliver ads.
AdManager()
- Constructor for class com.admob.android.ads.
AdManager
AdManager.Gender
- Enum in
com.admob.android.ads
Male and Female genders.
AdView
- Class in
com.admob.android.ads
A view containing an advertisement.
AdView(Context)
- Constructor for class com.admob.android.ads.
AdView
Constructs an advertisement view manually (not from a layout XML file).
AdView(Context, AttributeSet)
- Constructor for class com.admob.android.ads.
AdView
Constructs an advertisment view from a layout XML file.
AdView(Context, AttributeSet, int)
- Constructor for class com.admob.android.ads.
AdView
Constructs an advertisment view from a layout XML file.
AdView.AdListener
- Interface in
com.admob.android.ads
Implement this interface to receive notifications of ad activity.
C
clientError(String)
- Static method in class com.admob.android.ads.
AdManager
Delivers a critical error message to the user.
com.admob.android.ads
- package com.admob.android.ads
The
AdMob SDK for Android
provides the tools you need to embed ads within your Android application.
G
getBackgroundColor()
- Method in class com.admob.android.ads.
AdView
getBirthday()
- Static method in class com.admob.android.ads.
AdManager
Returns the birthday of the user.
getCoordinates(Context)
- Static method in class com.admob.android.ads.
AdManager
Returns the last known location of the user.
getGender()
- Static method in class com.admob.android.ads.
AdManager
Returns the user's gender.
getKeywords()
- Method in class com.admob.android.ads.
AdView
getPublisherId(Context)
- Static method in class com.admob.android.ads.
AdManager
Gets the unique ID assigned to this application by AdMob.
getRequestInterval()
- Method in class com.admob.android.ads.
AdView
getSearchQuery()
- Method in class com.admob.android.ads.
AdView
getTextColor()
- Method in class com.admob.android.ads.
AdView
getUserId(Context)
- Static method in class com.admob.android.ads.
AdManager
Returns a unique user ID.
getVisibility()
- Method in class com.admob.android.ads.
AdView
Gets the enabled state of this view.
H
hasAd()
- Method in class com.admob.android.ads.
AdView
Says whether this view is showing an ad or not.
HEIGHT
- Static variable in class com.admob.android.ads.
AdView
The height of all ads.
I
isGoneWithoutAd()
- Method in class com.admob.android.ads.
AdView
Returns if
getVisibility
is
GONE
when there is no ad.
isInTestMode()
- Static method in class com.admob.android.ads.
AdManager
Returns if the SDK is in test mode or not.
O
onAttachedToWindow()
- Method in class com.admob.android.ads.
AdView
onDetachedFromWindow()
- Method in class com.admob.android.ads.
AdView
onFailedToReceiveAd(AdView)
- Method in interface com.admob.android.ads.
AdView.AdListener
Called when an ad request fails to get a new ad.
onMeasure(int, int)
- Method in class com.admob.android.ads.
AdView
onNewAd()
- Method in interface com.admob.android.ads.
AdView.AdListener
Deprecated.
onReceiveAd(AdView)
- Method in interface com.admob.android.ads.
AdView.AdListener
Called when a new ad has been received and is about to be displayed.
onWindowFocusChanged(boolean)
- Method in class com.admob.android.ads.
AdView
Called when the window containing this ad gains or loses focus.
R
requestFreshAd()
- Method in class com.admob.android.ads.
AdView
Updates this view with a new ad.
S
SDK_VERSION
- Static variable in class com.admob.android.ads.
AdManager
This SDK version.
setBackgroundColor(int)
- Method in class com.admob.android.ads.
AdView
Sets the ad's background color.
setBirthday(GregorianCalendar)
- Static method in class com.admob.android.ads.
AdManager
Sets the birthday of the user.
setBirthday(int, int, int)
- Static method in class com.admob.android.ads.
AdManager
Sets the birthday of the user.
setGender(AdManager.Gender)
- Static method in class com.admob.android.ads.
AdManager
Sets the gender of the user to either male or female.
setGoneWithoutAd(boolean)
- Method in class com.admob.android.ads.
AdView
Sets the visibility of this view when there is no ad.
setInTestMode(boolean)
- Static method in class com.admob.android.ads.
AdManager
Sets if ad requests should fetch the test ad or make a real ad request.
setKeywords(String)
- Method in class com.admob.android.ads.
AdView
Keywords are hints for the ad server that describe your application and the screen this ad appears on.
setListener(AdView.AdListener)
- Method in class com.admob.android.ads.
AdView
Makes the
listener
receive notifications of when a new ad has arrived from AdMob and this view is about to display it.
setPublisherId(String)
- Static method in class com.admob.android.ads.
AdManager
Programatic way to sets the unique publisher ID assigned to this application by AdMob.
setRequestInterval(int)
- Method in class com.admob.android.ads.
AdView
Makes this view display a new ad every
requestInterval
seconds.
setSearchQuery(String)
- Method in class com.admob.android.ads.
AdView
If this ad appears alonside search results provide the search query here.
setTextColor(int)
- Method in class com.admob.android.ads.
AdView
Sets the ad's text color.
setVisibility(int)
- Method in class com.admob.android.ads.
AdView
Set the enabled state of this view.
V
valueOf(String)
- Static method in enum com.admob.android.ads.
AdManager.Gender
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.admob.android.ads.
AdManager.Gender
Returns an array containing the constants of this enum type, in the order they are declared.
A
C
G
H
I
O
R
S
V
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes