MoPubClientPositioning /3.0.0
public static class MoPubClientPositioning
Enables hard-coding ad positions into the app (also known as client-side positioning).
Public Constants
public static int /NO_REPEAT /+2.4.0
- Description: Constant indicating that ad positions should not repeat.
Public Methods
public MoPubClientPositioning /addFixedPosition(int position) /+2.4.0
-
Description: Specifies a fixed ad position. Returns this
MoPubClientPositioning
object for easy use in chained setters. -
Parameters:
position
: The ad position.
public MoPubClientPositioning /enableRepeatingPositions(int interval) /+3.0.0
-
Description: Enables showing ads ad at a repeated interval. An integer corresponding to the interval is passed in.
-
Parameters:
interval
: The frequency at which to show ads. Must be an integer greater than 1 or the constantNO_REPEAT
. Returns thisMoPubClientPositioning
object for easy use in chained setters.
Last updated March 30, 2021
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.
© 2021 MoPub (a division of Twitter, Inc.)