public class Util
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Util.CreativeSize
Utility Size class
|
static interface |
Util.CreativeSizeCompletionHandler |
static interface |
Util.ResizeInBannerNativeListener |
| Modifier and Type | Method and Description |
|---|---|
static void |
findPrebidCreativeSize(android.view.View adView,
Util.CreativeSizeCompletionHandler completionHandler)
Deprecated.
Please migrate to - AdViewUtils.findPrebidCreativeSize(View, AdViewUtils.PbFindSizeListener)
|
static void |
resizeInBannerNative(android.view.ViewGroup adView,
android.view.ViewGroup.LayoutParams params,
Util.ResizeInBannerNativeListener listener)
This method resizes a view that contains prebid in banner native ad to the size you desired
|
public static void resizeInBannerNative(android.view.ViewGroup adView,
android.view.ViewGroup.LayoutParams params,
Util.ResizeInBannerNativeListener listener)
adView - the adView to be resizedparams - the size to be resized to, note the view group has to be the adView's parent view group typelistener - the listener to be called when resize is done@Deprecated
public static void findPrebidCreativeSize(android.view.View adView,
Util.CreativeSizeCompletionHandler completionHandler)