Package com.rtb.sdk
Class RTBRewardedVideoAd
-
- All Implemented Interfaces:
public final class RTBRewardedVideoAd
-
-
Field Summary
Fields Modifier and Type Field Description private RTBRewardedVideoDelegatedelegateprivate List<RTBDSPRewardedVideoProtocol>dspAdapters
-
Constructor Summary
Constructors Constructor Description RTBRewardedVideoAd(Context context)
-
Method Summary
Modifier and Type Method Description final RTBRewardedVideoDelegategetDelegate()Delegate that will be notified with rewarded video ad events final UnitsetDelegate(RTBRewardedVideoDelegate delegate)Delegate that will be notified with rewarded video ad events final List<RTBDSPRewardedVideoProtocol>getDspAdapters()Optional list of special adapters handling extra requirements of select DSPs final UnitsetDspAdapters(List<RTBDSPRewardedVideoProtocol> dspAdapters)final Booleanload(RTBRewardedVideoRequestConfiguration configuration)Loads a new ad with given rewarded video request configuration. final Booleanshow(Activity activity)Show the loaded rewarded video ad. -
-
Constructor Detail
-
RTBRewardedVideoAd
RTBRewardedVideoAd(Context context)
-
-
Method Detail
-
getDelegate
final RTBRewardedVideoDelegate getDelegate()
Delegate that will be notified with rewarded video ad events
-
setDelegate
final Unit setDelegate(RTBRewardedVideoDelegate delegate)
Delegate that will be notified with rewarded video ad events
-
getDspAdapters
final List<RTBDSPRewardedVideoProtocol> getDspAdapters()
Optional list of special adapters handling extra requirements of select DSPs
-
setDspAdapters
final Unit setDspAdapters(List<RTBDSPRewardedVideoProtocol> dspAdapters)
-
load
final Boolean load(RTBRewardedVideoRequestConfiguration configuration)
Loads a new ad with given rewarded video request configuration. Returns true if the ad will start loading, false otherwise.
-
-
-
-