GoogleMobileAds Framework Reference

Enumerations

The following enumerations are available globally.

  • Consent status values.

    Declaration

    Swift

    enum UMPConsentStatus : Int, @unchecked Sendable

    Objective-C

    enum UMPConsentStatus : NSInteger {}
  • State values for whether the user has a consent form available to them. To check whether form status has changed, an update can be requested through requestConsentInfoUpdateWithParameters:completionHandler.

    Declaration

    Swift

    enum UMPFormStatus : Int, @unchecked Sendable

    Objective-C

    enum UMPFormStatus : NSInteger {}
  • State values for whether the user needs to be provided a way to modify their privacy options.

    Declaration

    Swift

    enum UMPPrivacyOptionsRequirementStatus : Int, @unchecked Sendable

    Objective-C

    enum UMPPrivacyOptionsRequirementStatus : NSInteger {}
  • Debug values for testing geography.

    Declaration

    Swift

    enum UMPDebugGeography : Int, @unchecked Sendable

    Objective-C

    enum UMPDebugGeography : NSInteger {}
  • Error codes used when making requests to update consent info.

    Declaration

    Swift

    enum UMPRequestErrorCode : Int, @unchecked Sendable

    Objective-C

    enum UMPRequestErrorCode : NSInteger {}
  • Error codes used when loading and showing forms.

    Declaration

    Swift

    enum UMPFormErrorCode : Int, @unchecked Sendable

    Objective-C

    enum UMPFormErrorCode : NSInteger {}