GoogleUserMessagingPlatform Framework Reference

UMPConsentStatus

enum UMPConsentStatus : NSInteger {}

Consent status values.

  • < Unknown consent status.

    Declaration

    Swift

    case unknown = 0

    Objective-C

    UMPConsentStatusUnknown = 0
  • < User consent required but not yet obtained.

    Declaration

    Swift

    case required = 1

    Objective-C

    UMPConsentStatusRequired = 1
  • < Consent not required.

    Declaration

    Swift

    case notRequired = 2

    Objective-C

    UMPConsentStatusNotRequired = 2
  • Undocumented

    Declaration

    Swift

    case obtained = 3

    Objective-C

    UMPConsentStatusObtained =
          3