use of org.prebid.mobile.rendering.utils.broadcast.local.EventForwardingLocalBroadcastReceiver in project prebid-mobile-android by prebid.
the class DisplayView method displayHtmlAd.
private void displayHtmlAd(BidResponse response) throws AdException {
mAdViewManager = new AdViewManager(getContext(), mAdViewManagerListener, this, mInterstitialManager);
mAdViewManager.loadBidTransaction(mAdUnitConfiguration, response);
mEventForwardingReceiver = new EventForwardingLocalBroadcastReceiver(mAdUnitConfiguration.getBroadcastId(), mBroadcastListener);
mEventForwardingReceiver.register(getContext(), mEventForwardingReceiver);
}
use of org.prebid.mobile.rendering.utils.broadcast.local.EventForwardingLocalBroadcastReceiver in project prebid-mobile-android by prebid.
the class BaseAdView method registerEventBroadcast.
protected void registerEventBroadcast() {
final int broadcastId = mAdViewManager.getAdConfiguration().getBroadcastId();
mEventForwardingReceiver = new EventForwardingLocalBroadcastReceiver(broadcastId, mBroadcastListener);
mEventForwardingReceiver.register(getContext(), mEventForwardingReceiver);
}
Aggregations