MPConsentChangedNotification /5.0.0

NSNotification class that provides constants to handle consent status change notifications.

Public Constants

extern NSString const /kMPConsentChangedNotification /+5.0.0

  • Description: Notification fired whenever the current consent status has changed. The payload will be included in the @NSNotification.userInfo dictionary.

  • Declaration:

    extern NSString *const kMPConsentChangedNotification
    

extern NSString const /kMPConsentChangedInfoNewConsentStatusKey /+5.0.0

  • Description: The new consent state; represented as a MPConsentStatus value wrapped in a NSNumber.

  • Declaration:

    extern NSString *const kMPConsentChangedInfoNewConsentStatusKey
    

extern NSString const /kMPConsentChangedInfoPreviousConsentStatusKey /+5.0.0

  • Description: The previous consent state; represented as a MPConsentStatus value wrapped in a NSNumber.

  • Declaration:

    extern NSString *const kMPConsentChangedInfoPreviousConsentStatusKey
    

extern NSString const /kMPConsentChangedInfoCanCollectPersonalInfoKey /+5.0.0

  • Description: Boolean flag indicating that it is okay to collection any personally identifiable information; represented as a BOOL value wrapped in a NSNumber.

  • Declaration:

    extern NSString *const kMPConsentChangedInfoCanCollectPersonalInfoKey
    

Last updated May 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.)