Reference

Interfaces

Name Description
AdListener A Listener interface that will be notified of events occurred during the life-cycle of an ad.
InterstitialAdListener A Listener interface that will be notified of events occurred during the life-cycle of an interstitial ad.

Classes

Name Description
YaftaMobileBannerView The YaftaMobileBannerView provides a view that displays banner advertisements to the user.
YaftaMobileInterstitial YaftaMobileInterstitial is used to display an interstitial ad. It has a close button for the user to dismiss it.
AdRequest The AdRequest class contains all the information necessary to fetch ads from YaftaMobile.
AdError An instance of AdError class is passed to AdListener in case of errors. The AdError object contains error code, and error message. 
AdSize The AdSize class encapsulates the width and height dimensions of an ad.
Logger Used to write logging messages.

Enums

Name Description
AdError.ErrorCode Enumeration of different error codes that can be encountered while fetching an ad. 
RunMode Enumeration of modes to perform an ad request on.