|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sec.android.ad.AdHubInterstitial
public class AdHubInterstitial
The AdHubInterstitial Class is a base class to obtain an Interstitial Ad.
startAd()
to obtain an Ad.
Field Summary |
---|
Fields inherited from interface com.sec.android.ad.UserInterface |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
AdHubInterstitial(Context context,
java.lang.String inventoryID)
|
Method Summary | |
---|---|
int |
getThreadPriority()
Returns the priority of the thread used in AdHubInterstitial. |
void |
setGeoCoder()
Sets the GeoCoder from location. |
void |
setListener(AdInterstitialListener interstitialListener)
Set Listener. |
void |
setLocation(double latitude,
double longitude)
Sets the location. |
void |
setLocation(double latitude,
double longitude,
double altitude)
Sets the location. |
void |
setThreadPriority(int priority)
Sets the priority of the Thread being used in AdHubInterstitial. |
void |
setUserProfile(UserProfile profile)
Register UserProfile. |
void |
startAd()
Requests an Interstitial Ad from the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdHubInterstitial(Context context, java.lang.String inventoryID)
Method Detail |
---|
public void setListener(AdInterstitialListener interstitialListener)
listener
- AdInterstitialListenerpublic void startAd()
startAd
in interface com.sec.android.ad.UserInterface
public void setUserProfile(UserProfile profile)
setUserProfile
in interface com.sec.android.ad.UserInterface
profile
- information such as age, gender, interests, etc.public void setGeoCoder()
setGeoCoder
in interface com.sec.android.ad.UserInterface
public void setLocation(double latitude, double longitude, double altitude)
setLocation
in interface com.sec.android.ad.UserInterface
latitude
- latitude, range: -90 ~ 90longitude
- longitude, range: -180 ~ 180altitude
- altitude, range: Doublepublic void setLocation(double latitude, double longitude)
setLocation
in interface com.sec.android.ad.UserInterface
latitude
- latitude, range: -90 ~ 90longitude
- longitude, range: -180 ~ 180public void setThreadPriority(int priority)
setThreadPriority
in interface com.sec.android.ad.UserInterface
priority
- - The new Thread priority setting. Must be less than AdHubInterstitial.MAX_PRIORITY(10) and greater than AdHubInterstitial.MIN_PRIORITY(1). The default value is AdHubInterstitial.NORM_PRIORITY(5).public int getThreadPriority()
getThreadPriority
in interface com.sec.android.ad.UserInterface
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |