ConsentStatusChangeListener /5.0.0

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) /+5.0.0

  • 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 August 28, 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.)