GoogleMobileAds Framework Reference

UMPConsentType

enum UMPConsentType {}

Type of user consent.

  • < User consent either not obtained or personalized vs < non-personalized status undefined.

    Declaration

    Swift

    case unknown = 0

    Objective-C

    UMPConsentTypeUnknown = 0
  • < User consented to personalized ads.

    Declaration

    Swift

    case personalized = 1

    Objective-C

    UMPConsentTypePersonalized = 1
  • < User consented to non-personalized ads.

    Declaration

    Swift

    case nonPersonalized = 2

    Objective-C

    UMPConsentTypeNonPersonalized = 2