In-Stream Ad
Integration
Declare InStreamAd
import com.intowow.sdk.InStreamAd;
private final static String PLACEMENT = "Obtain from your Intowow account manager";
private InStreamAd mInStreamAd = null;Initialize InStreamAd
// [NOTE]
// It is recommended to initialize as early as possible.
//
Map<String, Object> adProps = new HashMap<>();
adProps.put(AdProperty.HIDE_COUNTDOWN, false);
adProps.put(AdProperty.HIDE_SPEAKER, false);
adProps.put(AdProperty.HIDE_AD_ICON, false);
adProps.put(AdProperty.SILENT_START, false);
adProps.put(AdProperty.HIDE_NON_SKIPPABLE_BUTTON, false);
adProps.put(AdProperty.HIDE_AD_COUNT_VIEW, false);
mInStreamAd = new InStreamAd(this, PLACEMENT, adProps, mContainer);Implement InStreamAdListener to handle InStreamAd Event
Request InStreamAd
Implement CEContentProgressProvider to update Video Content Status
Release InStreamAd
If you want to get more information about integration, please refer to InstreamAd, InstreamAdListener and CEContentProgressProvider.
Last updated
