A more recent version of this class is available. Check out the latest version.

Ad interface is a common interface implemented by all Facebook ad controls.

Instance Methods

Loads an ad.

This method always returns immediately. The ad is loaded asynchronously. The control's ad listener will be called when loading finishes or fails.

public void loadAd()

Destroys the ad control.

This method should be called when the hosting activity of the ad control is destroyed.

public void destroy()