MPConsentDialogViewControllerDelegate /5.0.0

@protocol MPConsentDialogViewControllerDelegate<NSObject>

Delegate to notify consent dialog events back to the SDK.

Public Methods

- /consentDialogViewControllerDidReceiveConsentResponse: /+5.0.0

  • Description: Informs the delegate of the received consent response.

  • Declaration:

    - (void)consentDialogViewControllerDidReceiveConsentResponse:(BOOL)response
       consentDialogViewController:(MPConsentDialogViewController *)consentDialogViewController;
    
  • Parameters:

    • response: Consent response received: YES, NO.
    • consentDialogViewController: Consent dialog created using MPConsentDialogViewController.

- /consentDialogViewControllerWillDisappear: /+5.0.0

  • Description: Informs the delegate that the given consentDialogViewController will disappear.

  • Declaration:

    - (void)consentDialogViewControllerWillDisappear:(MPConsentDialogViewController *)consentDialogViewController;
    
  • Parameters:

    • consentDialogViewController: Consent dialog created using MPConsentDialogViewController.

- /consentDialogViewControllerDidDismiss: /+5.2.0

  • Description: Informs the delegate that the given consentDialogViewController did complete dismissing.

  • Declaration:

    - (void)consentDialogViewControllerDidDismiss:(MPConsentDialogViewController *)consentDialogViewController;
    
  • Parameters:

    • consentDialogViewController: Consent dialog created using MPConsentDialogViewController.

Last updated July 10, 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.)