Constants

public class Constants

VU_PLEASE_PROVIDE_CLASS_DESCRIPTION

Public Constants

public static final int /AD_EXPIRATION_DELAY

  • Description: A constant representing 4 hours in milliseconds used by the MoPub SDK to expire unused creatives.

public static final String /AD_HANDLER

  • Description: A String consisting of /m/ad used by the MoPub SDK as part of ad URLs to the ad server.

public static final String /CONVERSION_TRACKING_HANDLER

  • Description: A String consisting of /m/open used by the MoPub SDK as part of ad URLs to report conversion tracking to the ad server.

public static final int /FIFTEEN_MINUTES_MILLIS

  • Description: A constant representing 15 minutes in milliseconds used by the MoPub SDK.

public static final int /FOUR_HOURS_MILLIS

  • Description: See AD_EXPIRATION_DELAY.
  • Description: A String consisting of /m/gdpr_consent_dialog used by the MoPub SDK as part of ad URLs to report activities related to the consent dialog for GDPR.

public static final String /GDPR_SYNC_HANDLER

  • Description: A String consisting of /m/gdpr_sync used by the MoPub SDK as part of ad URLs to report a GDPR sync, typically occurring when the SDK initializes.

public static final String /HOST

  • Description: A String consisting of ads.mopub.com used by the MoPub SDK as part of ad URLs to the ad server.

public static final String /HTTP

  • Description: A String consisting of http used by the MoPub SDK as protocol for ad URLs to the ad server.

public static final String /HTTPS

  • Description: A String consisting of https used by the MoPub SDK as protocol for ad URLs to the ad server.

public static final String /INTENT_SCHEME

  • Description: A String consisting of intent used by the MoPub SDK when resolving URL click-throughs.

public static final String /NATIVE_VAST_VIDEO_CONFIG

  • Description: A String consisting of native_vast_video_config used by the MoPub SDK for handling native video.

public static final String /NATIVE_VIDEO_ID

  • Description: A String consisting of native_video_id used by the MoPub SDK for handling native video.

public static final String /POSITIONING_HANDLER

  • Description: A String consisting of /m/pos used by the MoPub SDK for handling native ad positioning.

public static final int /TEN_MB

  • Description: A constant representing 10MB used by the MoPub SDK for handling its local cache on the device.

public static final int /TEN_SECONDS_MILLIS

  • Description: A constant representing 10 seconds in milliseconds used by the MoPub SDK to handle ad response timeout for banner.

public static final int /THIRTY_SECONDS_MILLIS

  • Description: A constant representing 30 seconds in milliseconds used by the MoPub SDK to handle ad response timeout for interstitial and rewarded video.

public static final int /UNUSED_REQUEST_CODE

  • Description: A constant containing an integer used by the MoPub sample app when requesting user permissions.

public static final String /VIDEO_TRACKING_EVENTS_KEY

  • Description: A String consisting of “events” used by the MoPub SDK for internal VAST video event tracking.

public static final String /VIDEO_TRACKING_URL_MACRO

  • Description: A String consisting of %%VIDEO_EVENT%% used by the MoPub SDK for internal VAST video event tracking.

public static final String /VIDEO_TRACKING_URLS_KEY

  • Description: A String consisting of “urls” used by the MoPub SDK for internal VAST video event tracking.

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.)