|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.revmob.ads.notification.RevMobNotification
public class RevMobNotification
Constructor Summary | |
---|---|
RevMobNotification(android.app.Activity activity,
int publisherIcon,
RevMobAdsListener publisherListener,
Calendar publisherFireDate)
|
Method Summary | |
---|---|
void |
cancel()
If the notification was not loaded yet, it will not be scheduled automatically - The schedule method can still be called. |
boolean |
isLoaded()
Check if the ad is loaded. |
void |
load()
Load the ad data |
void |
load(String placementId)
Load the ad data using a placement id. |
static void |
openNotification(android.app.Activity currentActivity)
Call this method in the onCreate method of the activity that will be opened when the user click in the notification. |
void |
schedule()
Schedule the ad immediately, unless it is not loaded yet - If it is not loaded, it will schedule yourself as soon as it is loaded. |
void |
updateWithData(com.revmob.client.AdData advertisement)
For internal usage. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RevMobNotification(android.app.Activity activity, int publisherIcon, RevMobAdsListener publisherListener, Calendar publisherFireDate)
Method Detail |
---|
public void load()
public void load(String placementId)
public void updateWithData(com.revmob.client.AdData advertisement)
updateWithData
in interface com.revmob.ads.internal.Ad
public boolean isLoaded()
public void cancel()
schedule
method can still be called.
public void schedule()
public static void openNotification(android.app.Activity currentActivity)
currentActivity:
- the activity which you used to schedule the notification.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |