-
- All Implemented Interfaces:
-
com.batch.android.messaging.view.PannableBannerFrameLayout.OnDismissListener,com.batch.android.messaging.view.formats.mep.BannerView.OnActionListener,com.batch.android.messaging.view.helper.ImageHelper.Cache
public class MEPBannerContainer extends EmbeddedBannerContainer implements BannerView.OnActionListener, ImageHelper.Cache
Container for Batch's banners built from the MEP. Handles everything related to the banner: its lifecycle, window insets, etc...
Kinda similar to ...
-
-
Method Summary
Modifier and Type Method Description static MEPBannerContainerprovide(@NonNull() View attachTo, @NonNull() BatchMessage payloadMessage, @NonNull() BannerMessage message, @NonNull() MessagingAnalyticsDelegate analyticsDelegate, boolean embed)voidonCloseAction()voidonCTAAction(int index, @NonNull() CTA cta)voidonGlobalAction()voidput(@NonNull() AsyncImageDownloadTask.Result result)AsyncImageDownloadTask.Resultget(@NonNull() String key)-
-
Method Detail
-
provide
static MEPBannerContainer provide(@NonNull() View attachTo, @NonNull() BatchMessage payloadMessage, @NonNull() BannerMessage message, @NonNull() MessagingAnalyticsDelegate analyticsDelegate, boolean embed)
-
onCloseAction
void onCloseAction()
-
onCTAAction
void onCTAAction(int index, @NonNull() CTA cta)
-
onGlobalAction
void onGlobalAction()
-
put
void put(@NonNull() AsyncImageDownloadTask.Result result)
-
get
@Nullable() AsyncImageDownloadTask.Result get(@NonNull() String key)
-
-
-
-