RTBRewardedVideoAd

class RTBRewardedVideoAd(context: Context) {

    /**
     * Delegate that will be notified with rewarded video ad events
     */
    var delegate: RTBRewardedVideoAdDelegate? = null

    /**
     *  Loads a new ad with given rewarded video request configuration.
     *  Returns true if the ad will start loading, false otherwise.
     */
    fun load(configuration: RTBRewardedVideoRequestConfiguration): Boolean

    /**
     * Show the loaded rewarded video ad.
     * Returns true if the ad will show, false otherwise.
     */
    fun show(activity: Activity): Boolean 
}

Last updated