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 usingMPConsentDialogViewController
.
- /consentDialogViewControllerWillDisappear: /+5.0.0
-
Description: Informs the delegate that the given
consentDialogViewController
will disappear. -
Declaration:
- (void)consentDialogViewControllerWillDisappear:(MPConsentDialogViewController *)consentDialogViewController;
-
Parameters:
consentDialogViewController
: Consent dialog created usingMPConsentDialogViewController
.
- /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 usingMPConsentDialogViewController
.
Last updated December 03, 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.)