ConsentDialogListener /5.0.0

public interface ConsentDialogListener

Interface to listen to a successful or failed consent dialog load request.

Public Methods

public void /onConsentDialogLoaded() /+5.0.0

  • Description: Called when the consent dialog successfully loads.

  • Parameters: None.

public void /onConsentDialogLoadFailed(MoPubErrorCode moPubErrorCode) /+5.0.0

  • Description: Called when the consent dialog fails to load.

  • Parameters:

    • moPubErrorCode: The reason why the dialog failed to load.

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