Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACHIEVEMENTS - Static variable in class com.appbrain.AdId
For ad units shown around a game's achievements
addKeyword(String) - Method in class com.appbrain.AppBrainUserData
Add a keyword.
addKeywords(Collection) - Method in class com.appbrain.AppBrainUserData
Add a collection of keywords relevant to the context of the user.
addListener(Runnable) - Method in interface com.appbrain.RemoteSettings
Add a listener to the remote settings that will be called whenever we received settings from the server.
addTestDevice(String) - Static method in class com.appbrain.AppBrain
Put a device in test mode.
AdId - Class in com.appbrain
Class for identifying ad units.
AdListAdapter - Interface in com.appbrain
A ListAdapter that wraps another ListAdapter and injects ads.
AdListAdapter.AdLayoutCreator - Interface in com.appbrain
Interface that allows you to create a custom view for use in AdListAdapter.
AdmobAdapter - Class in com.appbrain.mediation
Implements AdMob's mediation interfaces so we can show AppBrain banners and interstitials through AdMob.
AdmobAdapter() - Constructor for class com.appbrain.mediation.AdmobAdapter
 
AdOptions - Class in com.appbrain
Used to customize interstitials.
AdOptions() - Constructor for class com.appbrain.AdOptions
 
AdOptions.ScreenType - Enum Class in com.appbrain
Determines how to display the interstitial and offerwall.
AdService - Interface in com.appbrain
The AdService provides methods to show the AppBrain offerwall and interstitial.
AdService.BorderSize - Enum Class in com.appbrain
AdService.ReturnToAppConfig - Enum Class in com.appbrain
AdvertiserService - Interface in com.appbrain
Provides AppBrain SDK features that are relevant not only for publishers but also for advertisers.
AppBrain - Class in com.appbrain
Entry point to the AppBrain SDK.
AppBrainBanner - Class in com.appbrain
A View that shows a typical banner-sized ad unit that promotes the offerwall.
AppBrainBanner(Context) - Constructor for class com.appbrain.AppBrainBanner
 
AppBrainBanner(Context, AttributeSet) - Constructor for class com.appbrain.AppBrainBanner
 
AppBrainBanner(Context, AttributeSet, int) - Constructor for class com.appbrain.AppBrainBanner
 
AppBrainBanner.BannerSize - Enum Class in com.appbrain
AppBrainInitProvider - Class in com.appbrain
This class initializes the AppBrain SDK.
AppBrainInitProvider() - Constructor for class com.appbrain.AppBrainInitProvider
 
AppBrainUserData - Class in com.appbrain
Class to hold data about a user.
AppBrainUserData.Gender - Enum Class in com.appbrain

B

BannerListener - Interface in com.appbrain
This is a listener interface to be notified when someone clicked the AppBrain banner.
BUILD_TIME - Static variable in class com.appbrain.sdk.BuildConfig
 
BUILD_TIMEVAL - Static variable in class com.appbrain.sdk.BuildConfig
 
BUILD_TYPE - Static variable in class com.appbrain.sdk.BuildConfig
 
BuildConfig - Class in com.appbrain.sdk
 
BuildConfig() - Constructor for class com.appbrain.sdk.BuildConfig
 

C

calcAdSize(Context) - Static method in class com.appbrain.mediation.AdmobAdapter
Computes an appropriate AdMob banner size for the current screen.
com.appbrain - package com.appbrain
This is the AppBrain SDK, for more information, see The AppBrain SDK information page.
com.appbrain.mediation - package com.appbrain.mediation
 
com.appbrain.sdk - package com.appbrain.sdk
 
create() - Static method in class com.appbrain.AppBrainUserData
 
create() - Static method in class com.appbrain.InterstitialBuilder
 
createLayout() - Method in interface com.appbrain.AdListAdapter.AdLayoutCreator
Create a view that can display an ad.
custom(String) - Static method in class com.appbrain.AdId
If you don't want to use one of the built-in AdId constants, you can generate custom ad ids on the AppBrain developer dashboard (click on one of your apps, then Ad Settings).

D

DEBUG - Static variable in class com.appbrain.sdk.BuildConfig
 
DEFAULT - Static variable in class com.appbrain.AdId
For ad units that don't fit any of the other categories
delete(Uri, String, String[]) - Method in class com.appbrain.AppBrainInitProvider
 
DIALOG - Enum constant in enum class com.appbrain.AdOptions.ScreenType
 

E

equals(Object) - Method in class com.appbrain.AdId
 
ERROR - Enum constant in enum class com.appbrain.InterstitialListener.InterstitialError
 
EXIT - Static variable in class com.appbrain.AdId
For ad units shown before the user exits your app

F

FEMALE - Enum constant in enum class com.appbrain.AppBrainUserData.Gender
 
FROM_DASHBOARD - Enum constant in enum class com.appbrain.AdService.ReturnToAppConfig
 
FULLSCREEN - Enum constant in enum class com.appbrain.AdOptions.ScreenType
 

G

get(String) - Method in interface com.appbrain.RemoteSettings
Return a value that was fetched from the server, if present.
get(String, String) - Method in interface com.appbrain.RemoteSettings
Return a value that was fetched from the server, or a default value if none was present.
getAdId() - Method in class com.appbrain.AdOptions
 
getAdId() - Method in class com.appbrain.InterstitialBuilder
 
getAds() - Static method in class com.appbrain.AppBrain
Get an AdService implementation, which allows you to show AppBrain Promoted Apps.
getAdvertiserService() - Static method in class com.appbrain.AppBrain
Gets an AdvertiserService implementation, which allows you to send conversion events to AppBrain.
getBannerListener() - Method in class com.appbrain.AppBrainBanner
 
getBirthDate() - Method in class com.appbrain.AppBrainUserData
 
getGender() - Method in class com.appbrain.AppBrainUserData
 
getItemPosition(int) - Method in interface com.appbrain.AdListAdapter
Calculates the position in the wrapped adapter based on the position in this adapter.
getKeywords() - Method in class com.appbrain.AppBrainUserData
 
getLastUpdateTime() - Method in interface com.appbrain.RemoteSettings
 
getListener() - Method in class com.appbrain.AdOptions
 
getListener() - Method in class com.appbrain.InterstitialBuilder
 
getLocation() - Method in class com.appbrain.AppBrainUserData
 
getOfferWallButtonLabel(Context) - Method in interface com.appbrain.AdService
 
getOnDoneCallback() - Method in class com.appbrain.InterstitialBuilder
 
getScreenType() - Method in class com.appbrain.AdOptions
 
getScreenType() - Method in class com.appbrain.InterstitialBuilder
 
getSettings() - Static method in class com.appbrain.AppBrain
Get the values that were set on the server.
getType(Uri) - Method in class com.appbrain.AppBrainInitProvider
 

H

hashCode() - Method in class com.appbrain.AdId
 
HOME_SCREEN - Static variable in class com.appbrain.AdId
For ad units shown in the home screen of your app

I

init(Context) - Static method in class com.appbrain.AppBrain
Initialize the AppBrain SDK.
initApp(Context) - Static method in class com.appbrain.AppBrain
Deprecated.
This method is now called automatically. You can safely remove any calls to it from your app.
insert(Uri, ContentValues) - Method in class com.appbrain.AppBrainInitProvider
 
InterstitialBuilder - Class in com.appbrain
Convenience class used to configure and show interstitials.
InterstitialListener - Interface in com.appbrain
This is a listener interface to be notified when someone clicks on an AppBrain interstitial, and when it's shown and dismissed.
InterstitialListener.InterstitialError - Enum Class in com.appbrain
 
isBannerId() - Method in class com.appbrain.AdId
 
isInterstitialId() - Method in class com.appbrain.AdId
 

K

KeepClass - Interface in com.appbrain
Marker interface to mark a class as not to be proguarded.

L

LARGE - Enum constant in enum class com.appbrain.AdService.BorderSize
 
LARGE - Enum constant in enum class com.appbrain.AppBrainBanner.BannerSize
 
LEADERBOARDS - Static variable in class com.appbrain.AdId
For ad units shown around a game's leaderboards
LEVEL_COMPLETE - Static variable in class com.appbrain.AdId
For ad units shown right after the user has completed a level in your app
LEVEL_START - Static variable in class com.appbrain.AdId
For ad units shown at startup of your app
LIBRARY_PACKAGE_NAME - Static variable in class com.appbrain.sdk.BuildConfig
 

M

MALE - Enum constant in enum class com.appbrain.AppBrainUserData.Gender
 
MATCH_PARENT - Enum constant in enum class com.appbrain.AppBrainBanner.BannerSize
 
maybeShow(Context) - Method in class com.appbrain.InterstitialBuilder
Shows an interstitial at certain times.
maybeShowInterstitial(Context) - Method in interface com.appbrain.AdService
Deprecated.
maybeShowInterstitial(Context, AdOptions) - Method in interface com.appbrain.AdService
Deprecated.
MEDIUM - Enum constant in enum class com.appbrain.AdService.BorderSize
 

N

NO_FILL - Enum constant in enum class com.appbrain.InterstitialListener.InterstitialError
 
NONE - Enum constant in enum class com.appbrain.AdService.BorderSize
 

O

OFF - Enum constant in enum class com.appbrain.AdService.ReturnToAppConfig
 
ON - Enum constant in enum class com.appbrain.AdService.ReturnToAppConfig
 
onAdFailedToLoad(InterstitialListener.InterstitialError) - Method in interface com.appbrain.InterstitialListener
Gets called after the interstitial failed to load.
onAdLoaded() - Method in interface com.appbrain.InterstitialListener
Gets called after the interstitial was loaded successfully.
onAdRequestDone(boolean) - Method in interface com.appbrain.BannerListener
Gets called after a call to AppBrainBanner.requestAd().
onClick() - Method in interface com.appbrain.BannerListener
Gets called when a banner receives a click from the user.
onClick() - Method in interface com.appbrain.InterstitialListener
Gets called when an interstitial receives a click from the user.
onCreate() - Method in class com.appbrain.AppBrainInitProvider
 
onDestroy() - Method in class com.appbrain.mediation.AdmobAdapter
 
onDismissed(boolean) - Method in interface com.appbrain.InterstitialListener
Gets called after the interstitial is dismissed.
onPause() - Method in class com.appbrain.mediation.AdmobAdapter
 
onPresented() - Method in interface com.appbrain.InterstitialListener
Called when the interstitial is shown to the user.
onReceive(Context, Intent) - Method in class com.appbrain.ReferrerReceiver
 
onResume() - Method in class com.appbrain.mediation.AdmobAdapter
 

P

PAUSE - Static variable in class com.appbrain.AdId
For ad units shown at natural pauses in your app
preload(Context) - Method in class com.appbrain.InterstitialBuilder
Loads an interstitial, which can then later be shown using InterstitialBuilder.show(Context) or InterstitialBuilder.maybeShow(Context).

Q

query(Uri, String[], String, String[], String) - Method in class com.appbrain.AppBrainInitProvider
 

R

ReferrerReceiver - Class in com.appbrain
This class used to keep track of the install referrer from the Play Store for old Play versions and is not needed anymore.
ReferrerReceiver() - Constructor for class com.appbrain.ReferrerReceiver
 
RemoteSettings - Interface in com.appbrain
RemoteSettings is a collection of values that can be sent back by AppBrain's servers to your Android app.
requestAd() - Method in class com.appbrain.AppBrainBanner
Request an ad to be fetched.
requestBannerAd(Context, CustomEventBannerListener, String, AdSize, MediationAdRequest, Bundle) - Method in class com.appbrain.mediation.AdmobAdapter
 
requestInterstitialAd(Context, CustomEventInterstitialListener, String, MediationAdRequest, Bundle) - Method in class com.appbrain.mediation.AdmobAdapter
 
RESPONSIVE - Enum constant in enum class com.appbrain.AppBrainBanner.BannerSize
 
retrieve(Context) - Static method in class com.appbrain.ReferrerReceiver
Retrieve the referrer String that was retrieved from Google Play.

S

sendConversionEvent(String, int) - Method in interface com.appbrain.AdvertiserService
Send a conversion event to AppBrain.
setAdId(AdId) - Method in class com.appbrain.AdOptions
Set the AdId for this interstitial, used to track different interstitials in your app.
setAdId(AdId) - Method in class com.appbrain.AppBrainBanner
Sets the ad id for this banner.
setAdId(AdId) - Method in class com.appbrain.InterstitialBuilder
Set the AdId for this interstitial, used to track different interstitials in your app.
setAllowedToUseMediation(boolean) - Method in class com.appbrain.AppBrainBanner
Deprecated.
Mediation (AppBrain mediating other ad networks) has been removed from the SDK. This method is now a no-op, kept for binary compatibility.
setAllowedToUseMediation(boolean) - Method in class com.appbrain.InterstitialBuilder
Set to false to make sure this interstitial will not use mediation, even if mediation is enabled for its AdId.
setBannerListener(BannerListener) - Method in class com.appbrain.AppBrainBanner
Set a listener interface that gets notified about clicks on the banner unit.
setBirthDate(Date) - Method in class com.appbrain.AppBrainUserData
Allows you to set the user's age.
setButtonTextIndex(int) - Method in class com.appbrain.AppBrainBanner
Set the text to use on the button.
setColors(int) - Method in class com.appbrain.AppBrainBanner
Specify which of fourteen color schemes should be used.
setDesign(int) - Method in class com.appbrain.AppBrainBanner
Specify which of four banner designs should be used.
setFinishOnExit(Activity) - Method in class com.appbrain.InterstitialBuilder
Finish this Activity when the interstitial is closed.
setGender(AppBrainUserData.Gender) - Method in class com.appbrain.AppBrainUserData
Allows you to set the user's gender.
setListener(InterstitialListener) - Method in class com.appbrain.AdOptions
Set a listener class to listener for open, close and click events of interstitials.
setListener(InterstitialListener) - Method in class com.appbrain.InterstitialBuilder
Set a listener for open, close and click events of the interstitial.
setLocation(Location) - Method in class com.appbrain.AppBrainUserData
Set a recently retrieved location of the user (acquired from the android LocationManager or Google Play Service's LocationClient).
setOfferWallClickListener(Context, View) - Method in interface com.appbrain.AdService
Sets a view's OnClickListener to open the offer wall when clicked.
setOfferWallClickListener(Context, View, View.OnClickListener) - Method in interface com.appbrain.AdService
Sets a view's OnClickListener to open the offer wall when clicked.
setOfferWallMenuItemClickListener(Context, MenuItem) - Method in interface com.appbrain.AdService
Sets a menu item's OnMenuItemClickListener to open the offer wall when clicked.
setOfferWallMenuItemClickListener(Context, MenuItem, MenuItem.OnMenuItemClickListener) - Method in interface com.appbrain.AdService
Sets a menu item's OnMenuItemClickListener to open the offer wall when clicked.
setOnDoneCallback(Runnable) - Method in class com.appbrain.InterstitialBuilder
Set a callback for when the interstitial is done.
setPopupBorder(int, AdService.BorderSize) - Method in interface com.appbrain.AdService
Adds a custom border around non-fullscreen ads.
setReturnToAppInterstitial(AdService.ReturnToAppConfig) - Method in interface com.appbrain.AdService
Set the behavior or the user-returns-to-app interstitial.
setScreenType(AdOptions.ScreenType) - Method in class com.appbrain.AdOptions
Set whether to show the interstitial and offerwall in full screen or as a dialog.
setScreenType(AdOptions.ScreenType) - Method in class com.appbrain.InterstitialBuilder
Set whether to show the interstitial and offerwall in full screen or as a dialog.
setSize(AppBrainBanner.BannerSize) - Method in class com.appbrain.AppBrainBanner
Set the banner's preferred size.
setSize(AppBrainBanner.BannerSize, AppBrainBanner.BannerSize) - Method in class com.appbrain.AppBrainBanner
Set the banner's preferred width and height.
setTitleIndex(int) - Method in class com.appbrain.AppBrainBanner
Set the title to use.
setUserData(AppBrainUserData) - Method in interface com.appbrain.AdService
Report data about the user or context to the AppBrain ads system.
shouldShowInterstitial(Context) - Method in interface com.appbrain.AdService
Query whether maybeShowInterstitial would show an interstitial now or not.
show(Context) - Method in class com.appbrain.InterstitialBuilder
Shows the interstitial if there is an internet connection.
showInterstitial() - Method in class com.appbrain.mediation.AdmobAdapter
 
showInterstitial(Context) - Method in interface com.appbrain.AdService
Deprecated.
showInterstitial(Context, AdOptions) - Method in interface com.appbrain.AdService
Deprecated.
showOfferWall(Context) - Method in interface com.appbrain.AdService
Shows the offer wall with the list of promoted apps.
sizeDp - Variable in enum class com.appbrain.AdService.BorderSize
 
SMALL - Enum constant in enum class com.appbrain.AdService.BorderSize
 
STANDARD - Enum constant in enum class com.appbrain.AppBrainBanner.BannerSize
 
STARTUP - Static variable in class com.appbrain.AdId
For ad units shown at startup of your app
STORE - Static variable in class com.appbrain.AdId
For ads shown around a store or other place where the user can buy in-app products

T

tagForChildDirectedTreatment(boolean) - Method in interface com.appbrain.AdService
Inform the AppBrain SDK that any subsequent requests should assume that the current user falls under the 'Child Online Privacy Protection Act' (COPPA).
toString() - Method in class com.appbrain.AdId
 

U

UNKNOWN - Enum constant in enum class com.appbrain.AppBrainUserData.Gender
 
update(Uri, ContentValues, String, String[]) - Method in class com.appbrain.AppBrainInitProvider
 

V

valueOf(String) - Static method in enum class com.appbrain.AdOptions.ScreenType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.appbrain.AdService.BorderSize
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.appbrain.AdService.ReturnToAppConfig
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.appbrain.AppBrainBanner.BannerSize
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.appbrain.AppBrainUserData.Gender
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.appbrain.InterstitialListener.InterstitialError
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.appbrain.AdOptions.ScreenType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.appbrain.AdService.BorderSize
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.appbrain.AdService.ReturnToAppConfig
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.appbrain.AppBrainBanner.BannerSize
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.appbrain.AppBrainUserData.Gender
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.appbrain.InterstitialListener.InterstitialError
Returns an array containing the constants of this enum class, in the order they are declared.

W

wrapListAdapter(Context, ListAdapter) - Method in interface com.appbrain.AdService
Wraps your ListAdapter in an AdListAdapter, which automatically inserts ads in your ListView.
wrapListAdapter(Context, ListAdapter, int, int, int, int) - Method in interface com.appbrain.AdService
Wraps your ListAdapter in an AdListAdapter, which automatically inserts ads in your ListView.
wrapListAdapter(Context, ListAdapter, AdListAdapter.AdLayoutCreator, int, int, int) - Method in interface com.appbrain.AdService
Wraps your ListAdapter in an AdListAdapter, which automatically inserts ads in your ListView.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form