Public Member Functions

com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate Interface Reference

List of all members.

Public Member Functions

abstract void onEngageSDKInitialized ()
abstract void onAdUnitInitialized ()
abstract void onAdsLoaded ()
abstract void onModalAdAvailable (String zoneId)
abstract void onModalAdPreDisplay ()
abstract void onModalAdDisplayed ()
abstract void onModalAdClicked ()
abstract void onModalAdPreDismiss ()
abstract void onModalAdDismissed ()
abstract void onModalAdFailedToDisplay (AFAdSDKError errCode)
abstract void onLeaveApplication ()
abstract void onInStreamAdAvailable (String zoneId)
abstract void onInStreamAdClicked ()
abstract void onNativeAdAvailable (String zoneId)
abstract void onNativeAdClicked ()

Detailed Description

Event handlers called in your app by the ad sdk


Member Function Documentation

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onAdsLoaded (  )  [pure virtual]

Inform the app that the ads information has been downloaded

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onAdUnitInitialized (  )  [pure virtual]

Inform the app that the ads unit is initialized

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onEngageSDKInitialized (  )  [pure virtual]

Inform the app that the ad sdk is initialized

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onInStreamAdAvailable ( String  zoneId  )  [pure virtual]

Inform the app that ads are loaded and there is at least one in-stream ad available. The app can also poll for availability with AfAdSDK.numberOfSashimiAdsAvailableForFormat()

Parameters:
zoneId ID of zone that in-stream ads are available for
abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onInStreamAdClicked (  )  [pure virtual]

Inform the app that an in-stream ad was clicked

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onLeaveApplication (  )  [pure virtual]

Inform the app that due to an ad being clicked, we are about to pause and open up the store

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdAvailable ( String  zoneId  )  [pure virtual]

Inform the app that ads are loaded and there is at least one modal ad available. The app can also poll for availability with AfAdSDK.isThereAModalAdAvailable()

Parameters:
zoneId ID of zone that modal ads are available for
abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdClicked (  )  [pure virtual]

Inform the app that a modal ad was clicked

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdDismissed (  )  [pure virtual]

Inform the app that a modal ad is dismissed

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdDisplayed (  )  [pure virtual]

Inform the app that a modal ad is presented

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdFailedToDisplay ( AFAdSDKError  errCode  )  [pure virtual]

Inform the app that a modal ad failed to present

Parameters:
errCode the error object filled with appropriate 'code' and 'localizedDescription'.
abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdPreDismiss (  )  [pure virtual]

Inform the app that a modal ad is about to be dismissed

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onModalAdPreDisplay (  )  [pure virtual]

Inform the app that a modal ad is about to be presented

abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onNativeAdAvailable ( String  zoneId  )  [pure virtual]

Inform the app that ads are loaded and there is at least one native ad available. The app can also poll for availability with AfAdSDK.numberOfNativeAdsAvailable()

Parameters:
zoneId ID of zone that native ads are available for
abstract void com.appsfire.adUnitJAR.sdk.AFAdSDKEventsDelegate.onNativeAdClicked (  )  [pure virtual]

Inform the app that a native ad was clicked


The documentation for this interface was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations