-
- All Implemented Interfaces:
-
io.cloudx.sdk.CloudXDestroyable
public interface CloudXFullscreenAd<T extends CloudXAdListener> implements CloudXDestroyable
Fullscreen ad interface
-
-
Method Summary
Modifier and Type Method Description abstract Unitload()Loads ad; if ad is loaded, successful listener's onAdLoadSuccess() will be invoked; onAdLoadFailed() otherwise. abstract Unitshow()Shows ad; if show is successful listener's onAdShowSuccess() will be invoked; onAdShowFailed() otherwise; Ad fail can happen when ad is not loaded yet or due to internal ad display error. abstract TgetListener()abstract UnitsetListener(T listener)abstract CloudXAdRevenueListenergetRevenueListener()abstract UnitsetRevenueListener(CloudXAdRevenueListener revenueListener)abstract BooleangetIsAdReady()Tells about current ad load status. -
-
Method Detail
-
load
abstract Unit load()
Loads ad; if ad is loaded, successful listener's onAdLoadSuccess() will be invoked; onAdLoadFailed() otherwise.
-
show
abstract Unit show()
Shows ad; if show is successful listener's onAdShowSuccess() will be invoked; onAdShowFailed() otherwise; Ad fail can happen when ad is not loaded yet or due to internal ad display error.
-
getListener
abstract T getListener()
-
setListener
abstract Unit setListener(T listener)
-
getRevenueListener
abstract CloudXAdRevenueListener getRevenueListener()
-
setRevenueListener
abstract Unit setRevenueListener(CloudXAdRevenueListener revenueListener)
-
getIsAdReady
abstract Boolean getIsAdReady()
Tells about current ad load status.
-
-
-
-