Interface AdViewUtils.PbScaleAppliedListener

Record Components:
width - the creative width reported by AdViewUtils.PbFindSizeListener.success(int, int)
height - the creative height reported by AdViewUtils.PbFindSizeListener.success(int, int)
Enclosing class:
AdViewUtils

public static interface AdViewUtils.PbScaleAppliedListener
Callback used with AdViewUtils.findPrebidCreativeSize(View, PbFindSizeListener, PbScaleAppliedListener). Invoked after the corrective WebView initial-scale has been applied (see AdViewUtils.fixZoomIn(android.webkit.WebView, int, int)).

Best-effort: called at most once, and only when a corrective scale is actually applied. It is not called when no scale is applied or on the failure path, so it is not a guaranteed completion signal — see AdViewUtils.findPrebidCreativeSize(View, PbFindSizeListener, PbScaleAppliedListener).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onScaleApplied(int width, int height)
     
  • Method Details

    • onScaleApplied

      void onScaleApplied(int width, int height)