PartnerApi /5.0.0

public static class PartnerApi

API calls to be used by whitelisted publishers who are implementing their own consent dialog.

Public Properties

public static Uri /CurrentConsentPrivacyPolicyUrl /+5.0.0

  • Description: The URL for the privacy policy to which this user has consented.

public static Uri /CurrentVendorListUrl /+5.0.0

  • Description: The URL for the list of vendors to which this user has consented.

public static string /CurrentConsentIabVendorListFormat /+5.0.0

  • Description: The list of vendors to which this user has consented, in IAB format.

public static string /CurrentConsentPrivacyPolicyVersion /+5.0.0

  • Description: The version for the privacy policy to which this user has consented.

public static string /CurrentConsentVendorListVersion /+5.0.0

  • Description: The version for the list of vendors to which this user has consented.

public static string /PreviouslyConsentedIabVendorListFormat /+5.0.0

  • Description: The list of vendors to which this user has previously consented in IAB format.

public static string /PreviouslyConsentedPrivacyPolicyVersion /+5.0.0

  • Description: The version for the privacy policy to which this user has previously consented.

public static string /PreviouslyConsentedVendorListVersion /+5.0.0

  • Description: The version for the vendor list to which this user has previously consented.

Public Methods

public static void /GrantConsent() /+5.0.0

  • Description: Notifies the MoPub SDK that this user has granted consent to this app.

  • Parameters: None.

public static void /RevokeConsent() /+5.0.0

  • Description: Notifies the MoPub SDK that this user has denied consent to this app.

  • Parameters: None.

Last updated October 06, 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.)