MPViewabilityAdapter

@protocol MPViewabilityAdapter <NSObject>

This protocol is for the adapters of various viewability SDKs.

Public Methods

-/startTracking

  • Description: Start tracking.

  • Declaration:

    - (void)startTracking;
    
  • Parameters: None.

-/stopTracking

  • Description: Stop tracking.

  • Declaration:

    - (void)stopTracking;
    
  • Parameters: None.

-/registerFriendlyObstructionView:

  • Description: Register a view that is laid out above the tracked ad view, which also belongs to the same UI component as the tracked view, such as the Learn More button, Close button, and video progress bar of the ad view.

  • Declaration:

    - (void)registerFriendlyObstructionView:(nonnull UIView *)view;
    
  • Parameters: None.

Last updated March 03, 2020

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2020 MoPub (a division of Twitter, Inc.)