ConsentStatusChangeListener

public interface ConsentStatusChangeListener

Add one of these to PersonalInfoManager#subscribeConsentStatusChangeListener to listen for status changes.

Public Methods

public void /onConsentStateChange(ConsentStatus oldConsentStatus, ConsentStatus newConsentStatus, boolean canCollectPersonalInformation)

  • Description: Called when a consent status transition happens.

  • Parameters:

    • oldConsentStatus: The old consent status.
    • newConsentStatus: The new consent status.
    • boolean: true if the SDK is allowed to collect personally identifiable information; false otherwise.

Last updated February 11, 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.)