com.revmob.ads.link
Class RevMobLink

java.lang.Object
  extended by com.revmob.ads.link.RevMobLink
All Implemented Interfaces:
com.revmob.ads.internal.Ad

public class RevMobLink
extends Object
implements com.revmob.ads.internal.Ad


Field Summary
 boolean autoopen
           
 
Constructor Summary
RevMobLink(android.app.Activity activity, RevMobAdsListener publisherListener)
           
 
Method Summary
 void cancel()
          If the link was not loaded yet, it will not be opened automatically - The open 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.
 void open()
          Open the ad immediately, unless it is not loaded yet - If it is not loaded, it will open 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
 

Field Detail

autoopen

public boolean autoopen
Constructor Detail

RevMobLink

public RevMobLink(android.app.Activity activity,
                  RevMobAdsListener publisherListener)
Method Detail

load

public void load()
Load the ad data


load

public void load(String placementId)
Load the ad data using a placement id.


updateWithData

public void updateWithData(com.revmob.client.AdData advertisement)
For internal usage.

Specified by:
updateWithData in interface com.revmob.ads.internal.Ad

isLoaded

public boolean isLoaded()
Check if the ad is loaded.

Returns:

cancel

public void cancel()
If the link was not loaded yet, it will not be opened automatically - The open method can still be called.


open

public void open()
Open the ad immediately, unless it is not loaded yet - If it is not loaded, it will open yourself as soon as it is loaded.



Copyright © 2013. All Rights Reserved.