# GoogleUserMessagingPlatform Framework Reference

# Type-Definitions

The following type definitions are available globally.
- `


  ### [UMPConsentFormLoadCompletionHandler](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Type-Definitions#/c:UMPConsentForm.h@T@UMPConsentFormLoadCompletionHandler)


  ` Provides a nonnull consentForm and a nil error if the load succeeded. Provides a nil
  consentForm and a nonnull error if the load failed.

  #### Declaration

  Swift

      typealias UMPConsentFormLoadCompletionHandler = (ConsentForm?, (any Error)?) -> Void

  Objective-C

      typedef void (^UMPConsentFormLoadCompletionHandler)(https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Classes/UMPConsentForm *_Nullable,
                                                          NSError *_Nullable)

- `


  ### [UMPConsentFormPresentCompletionHandler](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Type-Definitions#/c:UMPConsentForm.h@T@UMPConsentFormPresentCompletionHandler)


  ` Called after presentation of a UMPConsentForm finishes.

  #### Declaration

  Swift

      typealias UMPConsentFormPresentCompletionHandler = ((any Error)?) -> Void

  Objective-C

      typedef void (^UMPConsentFormPresentCompletionHandler)(NSError *_Nullable)

- `


  ### [UMPConsentInformationUpdateCompletionHandler](https://developers.google.com/ad-manager/mobile-ads-sdk/ios/privacy/api/reference/Type-Definitions#/c:UMPConsentInformation.h@T@UMPConsentInformationUpdateCompletionHandler)


  ` Called when the consent info request completes. Error is nil on success, and non-nil if the
  update failed.

  #### Declaration

  Swift

      typealias UMPConsentInformationUpdateCompletionHandler = ((any Error)?) -> Void

  Objective-C

      typedef void (^UMPConsentInformationUpdateCompletionHandler)(NSError *_Nullable)