AI-generated Key Takeaways
- 
          This page defines three global type definitions: UMPConsentFormLoadCompletionHandler,UMPConsentFormPresentCompletionHandler, andUMPConsentInformationUpdateCompletionHandler.
- 
          UMPConsentFormLoadCompletionHandleris used to handle the result of loading a consent form, indicating success with a form or failure with an error.
- 
          UMPConsentFormPresentCompletionHandleris invoked after a consent form has finished presenting.
- 
          UMPConsentInformationUpdateCompletionHandleris called upon the completion of a consent information update request, with an error provided if the update failed.
Type-Definitions
The following type definitions are available globally.
- 
                  
                  Provides a nonnull consentForm and a nil error if the load succeeded. Provides a nil consentForm and a nonnull error if the load failed. DeclarationSwift typealias UMPConsentFormLoadCompletionHandler = (ConsentForm?, (any Error)?) -> VoidObjective-C typedef void (^UMPConsentFormLoadCompletionHandler)(UMPConsentForm *_Nullable, NSError *_Nullable)
- 
                  
                  Called after presentation of a UMPConsentForm finishes. DeclarationSwift typealias UMPConsentFormPresentCompletionHandler = ((any Error)?) -> VoidObjective-C typedef void (^UMPConsentFormPresentCompletionHandler)(NSError *_Nullable)
- 
                  
                  Called when the consent info request completes. Error is nil on success, and non-nil if the update failed. DeclarationSwift typealias UMPConsentInformationUpdateCompletionHandler = ((any Error)?) -> VoidObjective-C typedef void (^UMPConsentInformationUpdateCompletionHandler)(NSError *_Nullable)